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..
- Get stored bank account by shop buyer id
Bank Account Management Service OpenAPI specification (version 1)
https://api-integration.ratepay.com/shop/consumer/v1/
https://api.ratepay.com/shop/consumer/v1/
For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.
- Integration environment
https://api-integration.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts
- Production environment
https://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" }
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 environment
https://api-integration.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts
- Production environment
https://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 environment
https://api-integration.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts/{bank_account_reference}
- Production environment
https://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'For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.
- Integration environment
https://api-integration.ratepay.com/shop/consumer/v1/partners/{partner_profile_id}/shop-buyers/{shop_buyer_id}/bank-accounts/{bank_account_reference}
- Production environment
https://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" }