Delete bank account

Delete a stored bank account of a given buyer.

SecurityBearer Authentication
Request
path Parameters
partner_profile_id
required
string

partner profile id provided by Ratepay

Example: MYSHOP_PR_DE
shop_buyer_id
required
string

unique id assigned to the buyer by the merchant

Example: customer_1
bank_account_reference
required
string

unique identifier for the bank account. This element can be retrieved by the GET request

Example: 226e7a20-5e1e-4f23-a56c-c8a851b190e7
header Parameters
Authorization
required
string

For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token.

Content-Type
required
string
Example: application/json
Responses
204

bank account deleted

401

partner profile id doesn't belong to the asking shop

404

Unknown merchant consumer id

500

Internal server error. Try again later.

delete/partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts/{bank_account_reference}
Request samples