Create webhooks for cash-out operations.
POST
/webhooks/cashout
Webhooks
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://infopago.apidog.io//webhooks/cashout' \
--header 'Content-Type: application/json' \
--data-raw '{
"uri": "http://example.com",
"email": "string",
"method": "POST",
"enabled": true,
"pauseOnFail": true,
"headers": {
"headerName": "string"
}
}'
Response Response Example
201 - Example of a refund webhook
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "CASHOUT",
"uri": "https://example.com/webhook",
"enabled": true
}
Requisição
Parâmetros Bodyapplication/json