Accounts
List accounts of customer
Changed onReturns a list of accounts of a customer with pagination and sort.
get/accounts
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
nextTokenstring
Example:eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ==
pageSizenumber
Example:10
Response
Response for list customers request
Example response
{
"data": [
{
"invoiceCurrency": "USD",
"primaryEmail": "admin@example.com",
"status": "ACTIVE"
}
]
}Changes
- info
added the optional property
//to the response with the status
- info
- breaking
the response property
//became optional for the status - breaking
the
//response property's maxLength was increased from255to320for the response status - warning
added the new
DRAFTenum value to the//response property for the response status - info
added the optional property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status
- breaking