Business API
Retrieve account's full bank details
api
get
/accounts/{account_id}/bank-details

Retrieve account's full bank details

Get all the bank details of one of your accounts. Specify the account by its ID.

For more information, see the guides: Get your account details.

Access Token

Each Business API request must contain an authorization header in the following format to make a call: Bearer <your_access_token>.

The access token will be obtained the first time you set up your application and has an expiration of 40 minutes. During setup, a refresh_token will also be obtained which allows to obtain a new access_token.

danger

Never share your client-assertion JWT (JSON web token), access_token and refresh_token with anyone, as these can be used to access your banking data and initiate transactions.

Access tokens can be issued with four security scopes and require a JWT (JSON Web Token) signature to be obtained:

  • READ: Permissions for GET operations.

  • WRITE: Permissions to update counterparties, webhooks, and issue payment drafts.

  • PAY: Permissions to initiate or cancel transactions and currency exchanges.

  • READ_SENSITIVE_CARD_DATA: Permissions to retrieve sensitive card details.

    caution

    If you enable the READ_SENSITIVE_CARD_DATA scope for your access token, you must set up IP whitelisting. Failing to do so will prevent you from accessing any Business API endpoint.

    IP whitelisting means that you must specify an IP or a set of IPs which will be the only IPs from which requests to the API will be accepted. To do so:

    1. In the Revolut Business app, select the corresponding API certificate.
    2. In Production IP whitelist, provide the IP(s) which should be whitelisted, and save.

To configure your JWT and obtain the refresh and first access tokens, complete the following steps:

  1. Sign up for a Revolut Business account
  2. Prepare your Sandbox environment
  3. Make your first API request

Request

Path Parameters
Path Parameters

The ID of the account to retrieve all bank details.

Response

The bank details of a specific account

Response body
Body array

The IBAN number.

The BIC number, also known as SWIFT code.

The account number.

The sort code of the account.

The routing number of the account.

The name of the counterparty.

The address of the counterparty.

Street line 1 information.

Street line 2 information.

The name of the region.

The name of the city.

The country of the counterparty as the 2-letter ISO 3166 code.

The postcode of the counterparty address.

Possible values: Value must match regular expression ^[A-Z]{2,3}$

The country of the bank as the 2-letter ISO 3166 code.

Indicates whether the account address is pooled or unique.

The reference of the pooled account.

Possible values: [chaps, bacs, faster_payments, sepa, swift, ach, elixir, sorbnet, nics, rix, sumclearing]

The schemes that are available for this currency account.

The estimated time of the inbound transfer of the funds, i.e. when we expect the recipient to receive the transfer.

Possible values: [days, hours]

The estimated time unit of the inbound transfer of the funds.

The minimum time estimate.

The maximum time estimate.

Was this page helpful?
Loading...