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 retrieve a paginated list of all bank accounts registered in your SpherePay account. You can optionally filter results by customer ID to fetch only the accounts belonging to a specific customer. Results are returned in descending order of creation time.

Endpoint

GET https://api.spherepay.co/v2/bank-account

Authentication

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

Query parameters

page
string
default:"1"
Page number to retrieve. Defaults to "1".
limit
string
default:"10"
Number of bank accounts to return per page. Defaults to "10".
customerId
string
Filter results to only bank accounts belonging to the specified customer ID.
  -H "Authorization: Bearer $SPHERE_API_KEY"

Response fields

data
object[]
Array of bank account objects.
pagination
object
Pagination metadata.
  "data": [
    {
      "id": "bankAccount_ce745ef7f3df4b9a8bff1301ce24b045",
      "status": "active",
      "bankName": "Chase",
      "accountName": "Jane Doe Checking",
      "customerId": "customer_66c4168d418a410eae282b83883bdc39",
      "created": "2025-01-01T00:00:00Z",
      "updated": "2025-01-01T00:00:00Z",
      "currency": "usd",
      "accountDetails": {
        "accountNumber": "****7890",
        "routingNumber": "021000021",
        "accountType": "checking"
      },
      "accountOwner": {
        "accountHolderName": "Jane Doe",
        "relationship": "self"
      },
      "networks": ["ach", "wire"]
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 1,
    "totalPages": 1,
    "hasNext": false,
    "hasPrevious": false
  }
}

Error responses

StatusCodeDescription
400address/invalidOne or more query parameters are invalid.
404resource/not-foundThe specified customer ID does not exist.
422validation/failedValidation failed. The response includes a per-field errors array.
Last modified on May 12, 2026