A refund sends the original payment amount back to the customer’s Stellar wallet. Refunds are processed on-chain and reflect a succeeded or failed status once the transaction settles.
The refund object
Unique identifier. Prefixed with rf_.
The payment being refunded.
The customer receiving the refund.
Amount refunded, e.g. "50 XLM".
pending, succeeded, or failed.
Optional reason for the refund.
Stellar public key the refund was sent to.
Arbitrary key-value data.
Create a refund
POST /refunds
Refunds the full amount of a payment to the customer’s wallet on file. Pass wallet_address to override the destination.
Body
ID of the payment to refund.
Override the refund destination. Defaults to the wallet that made the original payment.
Arbitrary key-value data.