Sandbox-only simulation helpers for generating and driving test data.
simulate_topupSandbox only. Tops up an account with simulated funds so you have test data to work with.
๐งช Sandbox only โ requires
REVOLUT_ENVIRONMENT=sandbox.
account_id (required): Account ID (UUID) to top upamount (required): Amount to addcurrency (required): Currency (ISO 4217) โ must match the account currencyreference (optional): Optional reference for the top-upstate (optional): Simulated resulting state (default: completed)request_id (optional): Idempotency key; a UUID is generated automatically if omittedsimulate_topup(account_id="...", amount=1000, currency="GBP")
simulate_transaction_stateSandbox only. Drives a transfer/payment transaction into a target state (complete, revert, decline, or fail) for testing state transitions.
๐งช Sandbox only โ requires
REVOLUT_ENVIRONMENT=sandbox.
transactionId (required): The transaction ID (UUID) to updateaction (required): State transition to simulate on the transactionsimulate_transaction_state(transactionId="...", action="complete")