The Bank Account Management Service enables merchants to store bank account data of their customers easily and highly secured at Ratepay. The stored bank account data can be used on the merchant's website or within backoffice orders to simplify future purchases. The Bank Account Management Service offers a REST API to store, retrieve and delete customer bank account data. The API uses JSON as data exchange format..
Bank Account Management Service OpenAPI specification (version 1)
Request
Retrieve a list of bank accounts stored for a specific buyer. Currently, the service stores one bank account per buyer. Thus, the returned list contains max. one bank account.
For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.
- Integration environmenthttps://api-integration.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts
- Production environmenthttps://api.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api-integration.ratepay.com/shop/consumer/v1/partners/MYSHOP_PR_DE/consumer/customer_1/bank-accounts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json'Successfully returned requested data
identifier of the bank account
name of bank account owner (including first name and last name)
the international bank account number. Spaces are allowed, but not necessary.
{ "bank_account_reference": "8e3412b0-a334-4d0a-b132-7ab996d769ef", "owner": "Jane Doe", "iban": "DE07 1234 1234 1234 1234 12", "bic": "MARKDEFFXXX" }
Request
Store bank account data for a specific buyer. Currently, only one bank account can be stored per buyer. Subsequent calls to that endpoint for the same buyer will overwrite existing bank account data.
For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.
bank account data
name of bank account owner (including first name and last name)
the international bank account number. Spaces are allowed, but not necessary.
- Integration environmenthttps://api-integration.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts
- Production environmenthttps://api.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api-integration.ratepay.com/shop/consumer/v1/partners/MYSHOP_PR_DE/consumer/customer_1/bank-accounts \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"owner": "Jane Doe",
"iban": "DE07 1234 1234 1234 1234 12",
"bic": "MARKDEFFXXX"
}'{ "bank_account_reference": "269b5bfb-7617-4ba6-9adc-a6abf4d0c8d4" }
For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.
- Integration environmenthttps://api-integration.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts/{bank_account_reference}
- Production environmenthttps://api.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts/{bank_account_reference}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api-integration.ratepay.com/shop/consumer/v1/partners/MYSHOP_PR_DE/consumer/customer_1/bank-accounts/226e7a20-5e1e-4f23-a56c-c8a851b190e7 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json'Request
Retrieve a list of bank accounts stored for a specific bank account reference. Currently, the service stores one bank account per buyer. Thus, the returned list contains max. one bank account.
For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.
- Integration environmenthttps://api-integration.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/shop-buyers/{shop_buyer_id}/bank-accounts/{bank_account_reference}
- Production environmenthttps://api.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/shop-buyers/{shop_buyer_id}/bank-accounts/{bank_account_reference}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://api-integration.ratepay.com/shop/consumer/v1/partners/MYSHOP_PR_DE/shop-buyers/customer_1/bank-accounts/226e7a20-5e1e-4f23-a56c-c8a851b190e7 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json'Successfully returned requested data
identifier of the bank account
name of bank account owner (including first name and last name)
the international bank account number. Spaces are allowed, but not necessary.
{ "bank_account_reference": "8e3412b0-a334-4d0a-b132-7ab996d769ef", "owner": "Jane Doe", "iban": "DE07 1234 1234 1234 1234 12", "bic": "MARKDEFFXXX" }