Simulations
Simulate a transfer state update (Sandbox only)
Simulate a transfer state change in the Sandbox environment.
For example, after you make a transfer in Sandbox, you can change its state to completed. The resulting state is final and cannot be changed.
For more information, see the guides: Test your flows with simulations (Sandbox only).
post/sandbox/transactions/{id}/{action}
Request
- Base URLhttps://sandbox-b2b.revolut.com/api/1.0
- AuthHTTP bearer
Path parameters
idstring uuid required
The ID of the transfer whose state you want to update.
action'complete' | 'revert' | 'decline' | 'fail' required
Indicates the transaction state update. Possible values:
- complete - Transaction is successfully processed.
- revert - Transaction is reverted by the system or company, but not the user. This can happen for a variety of reasons, for example, the receiver being inaccessible.
- decline - Transaction is declined to the user for a good reason, such as insufficient account balance, wrong receiver information, etc.
- fail - Transaction fails during initiation or completion. This can happen for a variety of reasons, for example, invalid API calls, blocked payments, etc.
Response
Information about the updated transfer state
Changes
No recorded changes to this operation across all 1 revision of this API.