Upload a payment file
Use this endpoint to upload a file for the given file payment consent.
For the format of the CSV file, check the requets body details.
Download an example CSV file.
For more information, see Tutorials: Create a file payment.
Request
The ID of the account access consent.
The unique ID of the ASPSP that the request is issued to.
The ID of Revolut is 001580000103UAvAAM.
Pattern: Value must match regular expression ^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \d{2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \d{4} \d{2}:\d{2}:\d{2} (GMT|UTC)$
An RFC4122 UUID used as a correlation ID.
The access token that you've generated. For more information, see Generate an access token.
Possible length: <= 40 characters
Pattern: Value must match regular expression ^(?!\s)(.*)(\S)$
Each request is processed only once per x-idempotency-key.
The idempotency key is valid for 24 hours.
A detached JWS signature of the body of the payload.
The user agent that the PSU is using.
The CSV payments 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.
The format of the payment file:
| FIELD | REQUIRED | DESCRIPTION |
|---|---|---|
Name | Yes | Can 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 type | Yes | Can be either INDIVIDUAL or COMPANY. |
Account number | For UK transfers | Must contain valid account number if provided. |
Sort code or Routing number | For UK transfers | Must contain valid sort code or routing number if provided. |
IBAN | For SEPA transfers | Must contain valid IBAN if provided. |
BIC | For SEPA transfers | Must contain valid BIC if provided. |
Recipient bank country | Yes | Must contain valid ISO 3166-1 country code. |
Currency | Yes | Must contain valid ISO 4217 currency code. |
Amount | Yes | Must match the following pattern [0-9]*(\.[0-9]*)?. |
Payment reference | Yes | Can contain up to 100 characters. |
Recipient country | No | Must contain valid ISO 3166-1 country code if provided. |
State or province | No | Can contain up to 50 characters. |
Address line 1 | No | Can contain up to 50 characters. |
Address line 2 | No | Can contain up to 50 characters. |
City | No | Can contain up to 50 characters. |
Postal code | No | Can contain up to 50 characters. |
Response
File Payment CSV Uploaded
An RFC4122 UUID used as a correlation ID.
An empty JSON object ({}) is returned.