Paytec Asset Gateway API
  • Introduction
  • Initial Setup
  • Integration and Function Flow
    • 1. Request a Quote
      • Get Quote Error Codes
    • 2. Authorize Transaction
      • Simulating Refused Transactions
      • Authorize Transaction Error Codes
    • 4. Get Details (Optional)
      • Get Details Error Codes
  • Webhooks
    • Setting up Webhooks
      • Provision an endpoint
      • Receiving and Acknowledging webhooks
      • Testing Webhooks
    • Example Callbacks
      • 3D Secure Webhooks
  • Direct Deposit
Powered by GitBook
On this page
  1. Webhooks
  2. Setting up Webhooks

Receiving and Acknowledging webhooks

PreviousProvision an endpointNextTesting Webhooks

When a HTTP request is sent to your endpoint, this notification will come in the form of a post request. You should acknowledge the requets by responding to the request with status 200.

If a request is not responded to/acknowledged within 30 seconds following notification, a consecutive webhook request will be sent to your endpoint. The second request will come 5 seconds after the initial request. After this second request, no further requests will be made with regards to the given transaction. Again, the 2nd request is only issued if the first request is not acknowledged.

See the following pages to understand the format of the webhook notifications. They will follow the same format as the typical responses to the request.

To practice/simulate how webhooks will behave with your server/application, you can use the endpoint on the following page to receive sample webhooks to your endpoint from the sandbox enviroment. This feature is not available in production.

submitTransaction
testWebhook