cURL
curl --request GET \ --url https://apis.hopnow.io/v1/customers/{customer_id}/accounts \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "<string>", "object": "<string>", "customer_id": "<string>", "name": "<string>", "status": "<string>", "created": "<string>" } ], "page": 123, "size": 123, "total": 123, "pages": 123 }
Retrieve all accounts for a customer
cus_
active
suspended
Show Account Fields
acc_
"account"
inactive
{ "items": [ { "id": "acc_1234567890abcdef", "object": "account", "customer_id": "cus_abc123", "name": "Primary Trading Account", "status": "active", "created": "2024-01-01T00:00:00Z" }, { "id": "acc_fedcba0987654321", "object": "account", "customer_id": "cus_abc123", "name": "Savings Account", "status": "active", "created": "2024-01-02T00:00:00Z" } ], "page": 1, "size": 10, "total": 25, "pages": 3 }