Sphere Paysphere
Bank account

Get a Bank Account by ID

GET
/v2/customers/{customer_id}/bank-account/{bank_account_id}

Authorization

AuthorizationRequiredBearer <token>

In: header

Path Parameters

customer_idRequiredstring

The customer's id.

bank_account_idRequiredstring

The customer's bank account id.

curl -X GET "https://api.sandbox.spherepay.co/v2/customers/{{customer_id}}/bank-account/{{bank_account_id}}" \
  -H "Authorization: Bearer <token>"

OK

{
  "id": "bankAccount_1c19dcf3caaa447bb209df0e5d599e8d",
  "status": "active",
  "bankName": "Chase",
  "accountHolderName": "John Mock-Doe",
  "accountName": "Savings Account",
  "customer": "customer_68f1c089703945e7bbff6f04bf1c5041",
  "currency": "usd",
  "accountDetails": {
    "accountNumber": "**********6789",
    "routingNumber": "**********6789",
    "accountType": "checking | savings",
    "bic": "**********6789",
    "iban": "**********6789",
    "country": "BRA",
    "pixKey": "**********6789",
    "taxId": "**********6789",
    "clabeNumber": "**********6789",
    "phpChannelSubject": "allbank",
    "phpNetwork": "instapay",
    "inrIfsc": "**********6789",
    "bankId": "**********6789",
    "sortCode": "**********6789",
    "branchCode": "12345"
  }
}