curl --request POST \
--url https://{yourDomain}/api/service/webhook-event/return-failed \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"type": "return.failed",
"date": "<string>",
"payload": {
"depositId": "<string>",
"returnId": "<string>",
"value": {
"currency": "<string>",
"amount": "<string>"
},
"failedAt": "<any>"
}
}'
A return has been failed
curl --request POST \
--url https://{yourDomain}/api/service/webhook-event/return-failed \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"type": "return.failed",
"date": "<string>",
"payload": {
"depositId": "<string>",
"returnId": "<string>",
"value": {
"currency": "<string>",
"amount": "<string>"
},
"failedAt": "<any>"
}
}'
Data of the webhook event
The body is of type object
.
OK
Was this page helpful?