Skip to main content

Make a Resend Callback Webhook Simulation

Resend Callback Webhook Simulation Endpoint

Create a webhook simulation to cash out operation.

Badge https://sandbox.tickpay.com/api/v1/simulations/resend/callback

warning

This functionality is only available for the SANDBOX environment.

Request

To access this endpoint, you need to provide a valid access token in the Authorization header.

Use the following cURL command to create a cash out operation:

curl -X 'POST' \
'https://sandbox.tickpay.com/api/v1/simulations/resend/callback' \
-H 'accept: */*' \
-H 'Content-Type: application/json' \
-d '{
"id": "transaction_id",
"newCallbackUrl": "https://example.com/callback"
}'

Request body

ParameterDescriptionRequired
idTransaction ID.true
newCallbackUrlNew URL callback.false

Response

The response will contain a data object, along with additional information:

{
"data": null,
"messageError": null,
"success": true
}

Response Properties

ParameterDescriptionDefault Value
messageErrorError message.null
successIndicates whether the request was successful.false
datanull