List Accounts
Changed onReturns the accounts the member holds. Each entry carries an accountUuid to send back, unchanged, as the account_uuid on List Disputable Transactions and the Eligibility Check. Use description as the display label in an account picker. account_type filters to one or more account types (repeat the query param); omit it to receive every type. Jointly held accounts are included, with holderType describing the ownership; no other holder's details are ever returned. This is the only endpoint whose customer_uuid also accepts the member's encrypted tax id — see "Encrypting the tax id" in the Disputes API (Self-Service) introduction.
Request
- Base URLhttps://api.casaphq.com (the document declares no server; this is the origin it was published from)
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
customer_uuid accepts either form of the member identifier: one Casap already issued (returned as-is), or the member's tax id encrypted with the org's Casap-issued public key (RSA-OAEP with SHA-256 as both the OAEP and MGF1 digest; base64-encode, then percent-encode). See "Encrypting the tax id" in the Disputes API (Self-Service) introduction for common pitfalls. Every other RPC's customer_uuid only accepts the identifier this endpoint resolves to.
account_type narrows the result to one or more of the listed account types (e.g. debit only, or debit and credit explicitly). Leave empty to receive every type.
Response
A successful response.
Changes
- info
endpoint added
- info