Draft payment

Create a draft payment

Before you begin, ensure that you've got an access token. For information about getting the access token, see Tutorial: Create your first draft payment. Then, you can use the /draft_payments endpoint to create a draft payment on behalf of a user, and the draft payment appears in the user account where they can approve or reject.

In addition, you can use this endpoint to make multiple draft payments by creating new rows for new drafts with the supported CSV format shown in the following tables.

For each draft payment request you make, ensure that the same currency is used. Upon a successful request for multiple draft payments, you receive a DraftPaymentID that represents all the draft payments associated with this request.

Please note that the maximum number of rows in a CSV file is 50 and all the payments must be in the same currency.

:::note Download an example CSV file. :::

For the format of the CSV file, check the request body details.

See also Tutorials: Work with draft payments.

post/draft-payments

Request

  • Base URL
    https://apis.revolut.com
  • Auth
    API key in header Authorization

Query parameters

scheduledDatestring YYYY-MM-DD

The date and time when the draft payment is executed.

:::note Any draft payment in the CSV file is created as a scheduled payment. :::

titlestring

The title of draft payment

Headers

x-idempotency-keystring UUID required

Idempotency key in UUID format.

Request body text/csv

string required

The CSV payment file. Provided as CSV-formatted text representing file payments, or as the path to the CSV payments file preceded by @. For the format of the CSV file, check the details below.

<details><summary>The format of the draft payment CSV file:</summary>
FIELDREQUIREDDESCRIPTION
NameYesCan contain up to 80 characters. If recipient type is INDIVIDUAL, this field must contain a first and a last name, separated by a space.
Recipient typeYesCan be either INDIVIDUAL or COMPANY.
Account numberFor non-IBAN accountsMust contain a valid account number if provided.
Sort codeFor UK transfersMust contain valid sort code if provided.
Routing numberFor US transfersMust contain valid routing number if provided.
IBANFor IBAN accountsMust contain a valid IBAN if provided.
BICAll the countries except for UK/US localMust contain a valid BIC if provided.
Recipient bank countryYesMust contain a valid ISO 3166-1 country code.
CurrencyYesMust contain a valid ISO 4217 currency code.
AmountYesMatch the pattern: [0-9]*(\\.[0-9]*)?
Payment referenceYesCan contain up to 100 characters.
Recipient countryNoMust contain a valid ISO 3166-1 country code if provided.
State or provinceNoCan contain up to 50 characters.
Address line 1NoCan contain up to 50 characters.
Address line 2NoCan contain up to 50 characters.
CityNoCan contain up to 50 characters.
Postal codeNoCan contain up to 50 characters.
</details> <br/>

Response

Draft Payment Details

DraftPaymentIdstring uuid required

The ID of the draft payment.

RequestedExecutionDatestring YYYY-MM-DD

The execution date the draft payment is requested.

Status'Awaiting' | 'Processed' | 'Approved' | 'Deleted' required

The status of the draft payment.

Changes

No recorded changes to this operation across all 2 revisions of this API.