v5
latestOpenAPI 3.1.02026-07-262421791.5 MBsimulation
Simulate a card transaction reversal
Simulates a transaction reversal request in the sandbox environment. The amount.value field can be set to 0 for a full reversal, or a positive value that represents the intended final value of the transaction after a partial reversal.
For example, if a transaction value was originally 10 SGD, and the intended final value is 3 SGD, amount.value should be set to 3. This means there is a partial refund of 7 SGD.
post/v1/simulation/spend/profiles/{profileId}/cards/{cardToken}/transactions/reversal
Path parameters
profileIdinteger required
The profile ID.
cardTokenstring uuid required
The card token.
Headers
X-External-Correlation-Idstring uuid
Optional UUID for correlating requests across systems. If provided, Wise echoes it back in the response. Maximum 36 characters. Learn more.
Request body
Response
Simulated transaction reversal result.