Simulate Webhooks
1min
Below API can be used to simulate the webhooks which are triggered by Pay3's system. Webhooks are sent to the API endpoint shared during client onboarding in the webhooks payload format.
This API can be used for testing the back-end of client application asynchronously even when order is not being performed from UI.
The list for possible statuses can be found here.
Note: This does not create any state changes or orders in Pay3's system.
Simulate receiving webhook data
POST
Request Params
Header Parameters
access-token
required
String
Access token received from Access token API. You can reuse the access token across multiple API calls till it is expired.
Body Parameters
requestId
required
String
Identifier that is created by Application's backend.
clientId
required
String
Client id. Application's identifier
orderId
required
String
This is the unique identifier in Pay3's system. This is equivalent to token shared in Create Order API's response.
orderStatus
required
String
This is the status for which you want to simulate webhook for. You will be receiving webhook data corresponding to this status
orderType
required
String
This represents the order type for which you want to simulate webhook. It can be CHECKOUT, PAYOUT etc.
eventType
required
String
This respresents the event type field, which is received in webhook. It should be passed as :
pay3-sdk-transaction-status : for payment related webhooks
pay3-sdk-login-status : for easy-sign related webhooks
Updated 24 Apr 2024
Did this page help you?