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