Use the following API requests to manage the bank account details of affiliated merchant accounts:
Add and retrieve bank accounts:
Verify bank accounts by payment link or bank statement:
All the bank account requests require a partner account API key. This is not the same as a site API key. For more information, email your partner manager.
All URLs on this page are directed to our test API. To use the live API, change the subdomain testapi
to api
and use the corresponding API key.
POST
https://testapi.multisafepay.com/v1/json/accounts/{affiliate_account_id}/bank-accounts?api_key={your-account-api-key}
Add a new bank account to a merchant account.
Parameter | Description |
---|---|
account_idstring |
The affiliated merchant ID. Format: 8 character string, e.g. 12345678 . Required. |
Parameter | Description |
---|---|
currency string |
The currency of the bank account. Format: ISO-4217, e.g. EUR . Required. |
holder_name string |
The full name of the bank account holder. This can be a natural person, company, or other legal entity. Format: Max 40 characters. Required. |
iban string |
The IBAN of the bank account. Format: Alphanumeric string of up to 34 characters. Required. |
The following are in addition to the request body parameters.
Parameter | Description |
---|---|
idstring |
The unique identifier of the bank account. Referred to as bankaccount_id . |
curl -X POST "https://testapi.multisafepay.com/v1/json/accounts/{affiliate_account_id}/bank-accounts?api_key={your-account-api-key}" \
--header "accept: application/json" \
--header "Content-Type: application/json" \
--data-raw '{
"currency" :"EUR",
"holder_name" :"{affiliate-company-name}",
"iban" :"NL02ABNA0123456789"
}'
{
"data": {
"currency" :"EUR",
"holder_name" :"{affiliate-company-name}",
"iban" :"NL02ABNA0123456789",
"id" :"t4xwvomi45heq"
},
"success": true
}
GET
https://testapi.multisafepay.com/v1/json/accounts/{affiliate_account_id}/bank-accounts?api_key={your-account-api-key}
Retrieve a list of all bank accounts linked to an affiliated merchant account.
Parameter | Description |
---|---|
account_idstring |
The affiliated merchant ID. Format: 8 character string, e.g. 12345678 . Required. |
Parameter | Description |
---|---|
currency string |
The currency of the bank account. Format: ISO-4217, e.g. EUR . |
holder_name string |
The full name of the bank account holder. This can be a natural person, company, or other legal entity. Format: Max 40 characters. |
iban string |
The IBAN of the bank account. Format: Alphanumeric string of up to 34 characters. |
id string |
The unique identifier of the bank account. Referred to as bankaccount_id . |
status string |
The screening status of the bank account. |
curl -X GET "https://testapi.multisafepay.com/v1/json/accounts/{affiliate_account_id}/bank-accounts?api_key={your-account-api-key}" \
--header "accept: application/json" \
{
"data": [
{
"currency": "EUR",
"holder_name": "{affiliate-company-name}",
"iban": "NL02ABNA0123456789",
"id" :"t4xwvomi45heq",
"status": "pending"
},
{
"currency": "USD",
"holder_name": "{affiliate-company-name}",
"iban": "NL02ABNA0123456789",
"id": "ytipdsfs746os",
"status": "pending"
}
],
"success": true
}
GET
https://testapi.multisafepay.com/v1/json/bank-accounts/{bankaccount_id}?api_key={your-account-api-key}
Retrieve a specific bank account by its identifier.
Parameter | Description |
---|---|
bankaccount_id | The unique identifier of the bank account. Format: String, e.g. upp6ogjqret36 . Required.bankaccount_id is returned as id in the add bank account and list bank accounts requests. |
Parameter | Description |
---|---|
currency string |
The currency of the bank account. Format: ISO-4217, e.g. EUR . |
holder_name string |
The full name of the bank account holder. This can be a natural person, company or other legal entity. Format: Max 40 characters. |
iban string |
The IBAN of the bank account. Format: Alphanumeric string of up to 34 characters. |
id string |
The unique identifier of the bank account. Referred to as bankaccount_id . |
status string |
The screening status of the bank account. |
curl -X GET "https://testapi.multisafepay.com/v1/json/bank-accounts/{bankaccount_id}?api_key={your-account-api-key}" \
--header "accept: application/json" \
{
"data": {
"currency": "EUR",
"holder_name": "{affiliate-company-name}",
"iban": "NL02ABNA0123456789",
"id": "{bankaccount_id}",
"status": "pending"
},
"success": true
}
POST
https://testapi.multisafepay.com/v1/json/bank-accounts/{bankaccount_id}/payment-links?api_key={your-account-api-key}
Create a payment link for a refundable 1 EUR payment. This payment is used to verify the ownership of the associated bank account. Alternatively, supply a copy of a bank statement through the bank-statements
request.
Parameter | Description |
---|---|
bankaccount_id | The unique identifier of the bank account. Format: String, e.g. upp6ogjqret36 . Required.bankaccount_id is returned as id in the add bank account and list bank accounts requests. |
Parameter | Description |
---|---|
bankaccount_id string |
The unique identifier of the bank account. |
payment_link string |
The URL where you can make the refundable 1 EUR payment. |
curl -X POST "https://testapi.multisafepay.com/v1/json/bank-accounts/{bankaccount_id}/payment-links?api_key={your-account-api-key}" \
--header "accept: application/json" \
{
"data": {
"bankaccount_id": "{bankaccount_id}",
"payment_link": "https://paymentlink.com/link"
},
"success": true
}
POST
https://testapi.multisafepay.com/v1/json/bank-accounts/{bankaccount_id}/bank-statements?api_key={your-account-api-key}
Upload a bank statement to verify the ownership of the bank account. Alternatively, create a payment link using the payment-links
request.
Parameter | Description |
---|---|
bankaccount_id | The unique identifier of the bank account. Format: String, e.g., upp6ogjqret36 . Required.bankaccount_id is returned as id in the add bank account and list bank accounts requests. |
Parameter | Value |
---|---|
encoded_contentstring |
Base64 encoded content. Required. |
filename string |
The bank statement filename. Format: Max 250 characters. Required. |
mime_type string |
The media type of the bank statement file . Options: application/pdf image/jpeg |
Parameter | Value |
---|---|
account_id string |
The affiliated merchant ID. Format: 8 character string, e.g. 12345678 . |
bankaccount_id string |
The unique identifier of the bank account. Format: String, e.g. upp6ogjwpot36 . |
document_type string |
The document type of the file. |
filename string |
The bank statement filename. Format: Max 250 characters. |
id string |
The unique identifier of the bank statement. Referred to as bankstatement_id . |
mime_type string |
The media type of the bank statement file . Options: application/pdf image/jpeg |
curl -X POST "https://testapi.multisafepay.com/v1/json/bank-accounts/{bankaccount_id}/bank-statements?api_key={your-account-api-key}" \
--header "accept: application/json" \
--header "Content-Type: application/json" \
--data-raw '{
"encoded_content": "string",
"filename": "bank-statement.pdf",
"mime_type": "application/pdf"
}'
{
"data": {
"account_id": "{affiliate_account_id}",
"bankaccount_id": "{bankaccount_id}",
"document_type": null,
"filename": "bank-statement.pdf",
"id": "4jrp7krwlrafq",
"mime_type": "application/pdf"
},
"success": "true"
}
GET
https://testapi.multisafepay.com/v1/json/bank-accounts/{bankaccount_id}/bank-statements?api_key={your-account-api-key}
Retrieve a list of all bank statements associated with a bank account.
Parameter | Description |
---|---|
bankaccount_id | The unique identifier of the bank account. Format: String, e.g., upp6ogjqret36 . Required.bankaccount_id is returned as id in the add bank account and list bank accounts requests. |
Parameter | Value |
---|---|
account_id string |
The affiliated merchant ID. Format: 8 character string, e.g. 12345678 . |
bankaccount_id string |
The unique identifier of the bank account. Format: String, e.g. upp6ogjwpot36 . |
document_type string |
The document type of the file. |
filename string |
The name of the bank statement file. Format: Max 250 characters. |
id string |
The unique identifier of the bank statement. Referred to as bankstatement_id . |
mime_type string |
The media type of the bank statement file . Options: application/pdf image/jpeg |
curl -X GET "https://testapi.multisafepay.com/v1/json/bank-accounts/{bankaccount_id}/bank-statements?api_key={your-account-api-key}" \
--header "accept: application/json" \
{
"data": {
"account_id": "{affiliate_account_id}",
"bankaccount_id": "{bankaccount_id}",
"document_type": "bankstatement",
"filename": "bank-statement.pdf",
"id": "4jrp7krwlrafq",
"mime_type": "application/pdf"
},
"success": "true"
}
GET
https://testapi.multisafepay.com/v1/json/bank-statements/{bankstatement_id}?api_key={your-account-api-key}
Retrieve a specific bank statement by its identifier.
Parameter | Description |
---|---|
bankstatement_id | The unique identifier of the bank statement Format: String, e.g. it613jfo4psde . Required. bankstatement_id is returned as id in the add bank statement and list bank statements requests. |
Parameter | Value |
---|---|
account_id string |
The affiliated merchant ID. Format: 8 character string, e.g. 12345678 . |
bankaccount_id string |
The unique identifier of the bank account. Format: String, e.g. upp6ogjwpot36 . |
document_type string |
The document type of the file. |
filename string |
The name of the bank statement file. Format: Max 250 characters. |
id string |
The unique identifier of the bank statement. Referred to as bankstatement_id . |
mime_type string |
The media type of the bank statement file . Options: application/pdf image/jpeg |
curl -X GET "https://testapi.multisafepay.com/v1/json/bank-statements/{bankstatement_id}?api_key={your-account-api-key}" \
--header "accept: application/json" \
{
"data": {
"account_id": "{affiliate_account_id}",
"bankaccount_id": "{bankaccount_id}",
"document_type": "bankstatement",
"filename": "bank-statement.pdf",
"id": "{bankstatement_id},
"mime_type": "application/pdf"
},
"success": true
}
You have added one or multiple bank accounts to a merchant account. Next, you can add UBOs and websites using the unique affiliated merchant ID.
Feedback
Propose a change on GitHub
or
send an email to [email protected]
Other languages
For an explanation in another language, contact your account manager.