# Get stored bank account by bank account reference 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. Endpoint: GET /partners/{partner_profile_id}/shop-buyers/{shop_buyer_id}/bank-accounts/{bank_account_reference} Version: version 1 Security: Bearer Authentication ## Path parameters: - `partner_profile_id` (integer, required) partner profile id provided by Ratepay. Example: "MYSHOP_PR_DE" - `shop_buyer_id` (string, required) unique id assigned to the buyer by the merchant Example: "customer_1" - `bank_account_reference` (string, required) the identifier of the bank account Example: "226e7a20-5e1e-4f23-a56c-c8a851b190e7" ## 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" ## Response 200 fields (application/json): - `bank_account_reference` (string) identifier of the bank account Example: "8e3412b0-a334-4d0a-b132-7ab996d769ef" - `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 401 fields (application/json): - `bank_account_reference` (string) identifier of the bank account Example: "8e3412b0-a334-4d0a-b132-7ab996d769ef" - `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 404 fields (application/json): - `bank_account_reference` (string) identifier of the bank account Example: "8e3412b0-a334-4d0a-b132-7ab996d769ef" - `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 405 fields (application/json): - `bank_account_reference` (string) identifier of the bank account Example: "8e3412b0-a334-4d0a-b132-7ab996d769ef" - `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 406 fields (application/json): - `bank_account_reference` (string) identifier of the bank account Example: "8e3412b0-a334-4d0a-b132-7ab996d769ef" - `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 413 fields (application/json): - `bank_account_reference` (string) identifier of the bank account Example: "8e3412b0-a334-4d0a-b132-7ab996d769ef" - `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 500 fields (application/json): - `bank_account_reference` (string) identifier of the bank account Example: "8e3412b0-a334-4d0a-b132-7ab996d769ef" - `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"