v2
You are reading v1 & v2. v1 and v2 are deprecated. They keep working and are still supported, but new integrations should use v3.

Starts a bank transfer payment through which a user can verify their IBAN account number

User/Verify/Iban

POST/api/v1/user/verify/iban/bank-transfer

Send two credentials: your own, and the customer's.

How authentication works
Either
Authorization: BearerorUser-Authorization: Bearer

Language

Environment

Credentials

Your credential, or the customer's

Choose an environment first.

cURL request
curl -X POST https://api.btcdirect.eu/api/v1/user/verify/iban/bank-transfer \  -H "Authorization: Bearer $BTCD_PARTNER_TOKEN" \  -H "Content-Type: application/json" \  -d '{    "returnUrl": "https://link-to.your-website.com/with?parameters=to-redirect"  }'
Choose an environment to run this.

Response

Request for bank transfer verification succeeded. Response contains bank account details that should be used to complete the IBAN verification through a bank transfer.
{  "name": "BTC Direct Europe BV",  "country": "The Netherlands",  "city": "Nijmegen",  "bank": "Bunq",  "swift": "BUNQNL2A",  "reference": "YFUWTT",  "iban": "NL12BUNQ2060426707"}

Request

returnUrlstringrequired

Redirect URL to sent the user back to after completing the IBAN verification payment

Examplehttps://link-to.your-website.com/with?parameters=to-redirect

Responses

200Request for bank transfer verification succeeded. Response contains bank account details that should be used to complete the IBAN verification through a bank transfer.
400A list of possible errors for this endpoint.

Body of the success response

namestring

The name of the company to which the funds should be transferred.

ExampleBTC Direct Europe BV

countrystring

The country in which the company is located.

ExampleThe Netherlands

citystring

The city in which the company is located.

ExampleNijmegen

bankstring

The name of the bank to which the funds should be transferred.

ExampleBunq

swiftstring

The SWIFT code of the bank to which the funds should be transferred.

ExampleBUNQNL2A

referencestring

The reference that should be used when transferring the funds.

ExampleYFUWTT

ibanstring

The IBAN to which the funds should be transferred.

ExampleNL12BUNQ2060426707

Every failure answers with a message and a code. Switch on the code — messages are written for people and can change.