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 payment through iDeal or Sofort which a user can verify their IBAN account number

User/Verify/Iban

POST/api/v1/user/verify/iban/ideal

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/ideal \  -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

Returns an object containing a URL where the user can complete the payment to verify the IBAN.
{  "url": "https://link-to-external.payment-service.provider/with?paremeters=to-redirect",  "method": "GET",  "data": {    "key1": "value1",    "key2": "value2"  }}

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

200Returns an object containing a URL where the user can complete the payment to verify the IBAN.
400A list of possible errors for this endpoint.

Body of the success response

urlstring

The URL to which the user should be redirected to complete the payment.

Examplehttps://link-to-external.payment-service.provider/with?paremeters=to-redirect

methodstring

The method that should be used to redirect the user.

Can be one ofGETPOST

datastring[]

Data that should be sent to the URL. Either trough query string or as post data.

Default

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