Simulations

Simulate an account top-up (Sandbox only)

Simulate a top-up of your account in the Sandbox environment.

This is useful during testing, when you run out of money in your test account and need to add more.

For more information, see the guides: Test your flows with simulations (Sandbox only).

post/sandbox/topup

Request

  • Base URL
    https://sandbox-b2b.revolut.com/api/1.0
  • Auth
    HTTP bearer

Request body

account_idstring uuid required

The ID of the account that you want to top up.

amountnumber double required

The amount with which you want to top up the account.

currencystring required

ISO 4217 currency code in upper case.

referencestring

A short description for your top up.

state'pending' | 'completed' | 'reverted' | 'failed'

The state to which you want to set the top-up transaction.

Response

Information about the top-up state

idstring uuid required

The ID of the account that was topped up.

state'pending' | 'completed' | 'reverted' | 'failed' required

The state of the top-up transaction.

created_atstring date-time required

The date and time the transaction was created in ISO 8601 format.

completed_atstring date-time

The date and time the transaction was completed in ISO 8601 format.

Changes

No recorded changes to this operation across all 1 revision of this API.