Return request
Relevant webhooks
For this endpoint be sure you have registered for this webhook:
- Rtp.Payment.Canceled
API reference
Used to initiate return requests for outgoing payments that has already been sent. This enables partners to request the reversal of a previously completed outbound RTP transaction.
This endpoint is strictly used to initiate return requests for outbound RTP payments. This action can also be done via return request in COS Explorer
Endpoint: /rtp/v1/payments/{id}/return-request
POST
https://sandbox.crbcos.com/rtp/v1/payments/{id}/return-request
curl -L 'https://sandbox.crbcos.com/rtp/v1/payments/61c194b3-6405-4b7f-bd81-b30c00e05637/return-request' ^
-H 'Content-Type: application/json' ^
-H 'Authorization: Bearer token' ^
-d '{
"reasonCode": "CUST",
"additionalInfo": "Some additional information"
}'