Wallet
Wallet entries for Account
Changed onWallet entries for Account
get/accounts/{account_id}/wallet/entries
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_idstring required
Example:ACC00001
account_id corresponding to an account
Query parameters
nextTokenstring
Example:eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEyMywgInNvcnRPcmRlciI6ICJhc2MifQ==
Pagination token used as a marker to get records from next page.
pageSizeinteger
Example:10
Maximum page size expected by client to return the record list.
NOTE: Max page size cannot be more than 50. Also 50 is the default page size if no value is provided.
Response
Response for Credit Balance Request
Example response
{
"data": [
{
"transactionType": "CREDITED",
"status": "COMPLETED",
"amount": 200,
"closingBalance": 200
}
],
"nextToken": "eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEyMywgInNvcnRPcmRlciI6ICJhc2MifQ=="
}Changes
- info
added the required property
//to the response with the status
- info
- info
endpoint added
- info