transfer call - the merchant pays from their own balance, not from the contract.
Parameters
Authorization
refund() call and the nested token.transfer().
Return value
None (void).
Events emitted
Error cases
Examples
- SDK
- Soroban CLI
The refund amount is not validated against previous charges. The merchant can refund any amount they choose, including partial refunds. The merchant must have sufficient token balance to cover the refund.