# Store bank account 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. Endpoint: POST /partners/{partner_profile_id}/consumer/{shop_buyer_id}/bank-accounts Version: version 1 Security: Bearer Authentication ## Path parameters: - `partner_profile_id` (string, required) partner profile id provided by Ratepay Example: "MYSHOP_PR_DE" - `shop_buyer_id` (string, required) unique id assigned to the consumer by the merchant Example: "customer_1" ## Header parameters: - `Authorization` (string, required) For each request, a valid access token must be provided in the Authorization header. See Authentication API for obtaining a valid token. - `Content-Type` (string, required) Example: "application/json" ## Request fields (application/json): - `owner` (string, required) name of bank account owner (including first name and last name) Example: "Jane Doe" - `iban` (string, required) the international bank account number. Spaces are allowed, but not necessary. Example: "DE07 1234 1234 1234 1234 12" - `bic` (string) the bank identifier code Example: "MARKDEFFXXX" ## Response 201 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase. ## Response 400 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase. ## Response 401 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase. ## Response 405 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase. ## Response 406 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase. ## Response 413 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase. ## Response 415 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase. ## Response 422 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase. ## Response 500 fields (application/json): - `bank_account_reference` (string) The bank_account_reference can be used in a payment request to identify the IBAN and BIC for the purchase.