Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spherepay.co/llms.txt

Use this file to discover all available pages before exploring further.

Use this endpoint to update a registered bank account. Currently, the only mutable field is networks, which controls which payment rails are enabled for the account. The new networks value must be compatible with the account’s currency — you cannot add an incompatible network after creation.

Endpoint

PATCH https://api.spherepay.co/v2/bank-account/{id}

Authentication

All requests require a Bearer token in the Authorization header.
Authorization: Bearer <token>

Path parameters

id
string
required
The bank account ID to update (e.g., "bankAccount_ce745ef7f3df4b9a8bff1301ce24b045").

Request parameters

networks
string[]
required
The updated list of payment networks for this account. Must be compatible with the account’s currency:
  • USD: one or both of "ach" and "wire"
  • EUR: ["sepa"]
  • BRL: ["pix"]
  -H "Authorization: Bearer $SPHERE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "networks": ["ach", "wire"]
  }'

Response fields

id
string
Unique identifier for the bank account.
status
string
Account status (e.g., "active").
bankName
string
Name of the financial institution.
accountName
string
Descriptive label for the account.
customerId
string
ID of the customer who owns this account.
currency
string
Currency code: "usd", "eur", or "brl".
accountDetails
object
Masked account details specific to the account’s currency.
accountOwner
object
Account holder name and relationship.
networks
string[]
Updated list of payment networks registered for this account.
created
string
ISO 8601 timestamp of when the account was registered.
updated
string
ISO 8601 timestamp of the most recent update.
  "id": "bankAccount_ce745ef7f3df4b9a8bff1301ce24b045",
  "status": "active",
  "bankName": "Chase",
  "accountName": "Jane Doe Checking",
  "customerId": "customer_66c4168d418a410eae282b83883bdc39",
  "created": "2025-01-01T00:00:00Z",
  "updated": "2025-01-02T09:15:00Z",
  "currency": "usd",
  "accountDetails": {
    "accountNumber": "****7890",
    "routingNumber": "021000021",
    "accountType": "checking"
  },
  "accountOwner": {
    "accountHolderName": "Jane Doe",
    "relationship": "self"
  },
  "networks": ["ach", "wire"]
}

Error responses

StatusCodeDescription
400address/invalidOne or more request parameters are invalid.
404resource/not-foundNo bank account with the specified ID exists.
422validation/failedValidation failed. The response includes a per-field errors array.
Last modified on May 12, 2026