Process Refund
POST/v2/deposits/:depositId/refunds/:refundId/status
Feature in development
Refunds are created in PREVIEW state. It creates the Refund resource and validates the refund parameters.
To move the payment forward you must request status change using POST /v2/deposits/{depositId}/refunds/{refundId}/status
. This will move the refund in PENDING
state.
{
"status": "PENDING"
}
To confirm the refund for execution use POST /v2/deposits/{depositId}/refunds/{refundId}/status
:
{
"status": "PROCESSING"
}
Poll for status or leverage webhooks for track the refund progress.
Request
Responses
- 202
- 400
Accepted
Bad Request