Business API
Retrieve a list of payout links
api
get
/payout-links

Retrieve a list of payout links

Get all the links that you have created, or use the query parameters to filter the results.

The links are sorted by the created_at date in reverse chronological order.

The returned links are paginated. The maximum number of payout links returned per page is specified by the limit parameter. To get to the next page, make a new request and use the created_at date of the last payout link returned in the previous response.

note

This feature is available in the UK and the EEA.

For more information, see the guides: Send money via payout link.

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. Go to the Revolut Business web app settings -> APIs -> Business API.
    2. Select the corresponding API certificate.
    3. 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

Query Parameters
Query Parameters

Possible values: [created, failed, awaiting, active, expired, cancelled, processing, processed]

Retrieves links in the specified state(s). Possible states are:

  • created: The payout link has been created, but the amount has not yet been blocked.
  • failed: The payout link couldn't be generated due to a failure during transaction booking.
  • awaiting: The payout link is awaiting approval.
  • active: The payout link can be redeemed.
  • expired: The payout link cannot be redeemed because it wasn't claimed before its expiry date.
  • cancelled: The payout link cannot be redeemed because it was cancelled.
  • processing: The payout link has been redeemed and is being processed.
  • processed: The payout link has been redeemed and the money has been transferred to the recipient.

Use for filtering to retrieve only links in specified states. To specify multiple values, follow this pattern: state={VALUE1}&state={VALUE2}.

Default value: the date-time at which the request is made

Retrieves links with created_at < created_before. The default value is the current date and time at which you are calling the endpoint.

Provided in ISO 8601 format.

Possible values: >= 1 and <= 1000

Default value: 100

The maximum number of links returned per page.

To get to the next page, make a new request and use the created_at date of the last payout link returned in the previous response as the value for created_before.

Response

List of your payout links

Response body
Body array

The ID of the payout link.

Possible values: [created, failed, awaiting, active, expired, cancelled, processing, processed]

The state that the payout link is in. Possible states are:

  • created: The payout link has been created, but the amount has not yet been blocked.
  • failed: The payout link couldn't be generated due to a failure during transaction booking.
  • awaiting: The payout link is awaiting approval.
  • active: The payout link can be redeemed.
  • expired: The payout link cannot be redeemed because it wasn't claimed before its expiry date.
  • cancelled: The payout link cannot be redeemed because it was cancelled.
  • processing: The payout link has been redeemed and is being processed.
  • processed: The payout link has been redeemed and the money has been transferred to the recipient.

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

The date and time the payout link was last updated in ISO 8601 format.

The name of the counterparty provided by the sender.

Default value: false

Indicates whether you chose to save the recipient as your counterparty upon link claim. If false then the counterparty will not show up on your counterparties list, for example, when you retrieve your counterparties. However, you can still retrieve this counterparty by its ID.

If you didn't choose to save the counterparty on link creation, you can still do it from your transactions list in the Business app.

The ID of the request, provided by the sender.

Possible values: >= now + 1 day and <= now + 7 days

Default value: now + 7 days

The date and time after which the payout link expires in ISO 8601 format. If the recipient doesn't claim the money before then, the payout link expires and is no longer available.

The default and maximum value is the date and time of creating the link + 7 days.

Possible values: [revolut, bank_account, card]

The list of payout methods that the recipient can use to claim the payout, where:

  • revolut: Revolut peer-to-peer (P2P) transfer
  • bank_account: External bank transfer
  • card: Card transfer

The ID of the sender's account.

The amount of money to be transferred.

note

The amount must be between £1 and £2,500, or equivalent in the selected currency.

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

ISO 4217 currency code in upper case.

The URL of the payout link. Returned only for active payout links.

The reference for the payout transaction, provided by the sender.

The reason code for the transaction. Transactions to certain countries and currencies might require you to provide a transfer reason. You can check available reason codes with the getTransferReasons operation.

If a transfer reason is not required for the given currency and country, this field is ignored.

The ID of the counterparty created based on the recipient's details.

note

By default, the newly created counterparty is hidden from your counterparties list.

To automatically save it when the link is claimed, pass the save_counterparty parameter set to true.

Alternatively, you can add the recipient to your counterparties later from the list of transactions in the Business app.

The ID of the created transaction. Returned only if the payout has been claimed.

Possible values: [too_many_name_check_attempts]

The reason for which the payout link was cancelled.

Was this page helpful?
Loading...