pending status, it can no longer be cancelled — on-chain settlement will have already begun and the funds will be in transit. If you need to recover funds from a payment that has already begun processing, contact RemitFlex Support.
Path Parameters
The unique payment identifier, prefixed with
pmt_ (e.g., pmt_01HX4N3RABCDEF). This is the id field returned when the payment was created.Response
On success, the API returns the full payment object withstatus updated to "cancelled" and updated_at reflecting the cancellation timestamp.
Unique payment identifier with prefix
pmt_.Will be
"cancelled" upon successful cancellation.The source payment amount originally submitted.
Source stablecoin used for the payment.
Target currency the recipient would have received.
The originally calculated destination amount. For cancelled payments, no funds are delivered.
The exchange rate that was applied at the time of creation.
Fee denominated in
currency. Fees are not charged for payments cancelled while in pending status.Recipient details associated with the payment.
The internal reference you provided at creation, if any.
The corridor identifier used to route the payment.
ISO 8601 timestamp of when the payment was originally created.
ISO 8601 timestamp of the cancellation.
ISO 8601 timestamp of the originally projected delivery time. For cancelled payments, delivery will not occur.
Examples
Error Responses
If the payment has already progressed pastpending, the API returns a 422 Unprocessable Entity error.
404 Not Found error.