The endpoint and http method information used to query wallet transaction are stated below.
HTTP Method | URL | URL Parameters |
---|---|---|
GET |
/wallet/v1/wallets/:id/wallet-transactions |
See for the URL parameters: Search Wallet Transactions Request Parameters |
The expected parameters to be sent in requests to query wallet transaction are listed under the table and subheadings below.
Parameter Name | Type | Mandatory | Description |
---|---|---|---|
walletTransactionType |
string |
No | Type of wallet transaction to filter wallet transactions |
page |
number |
No | Page number for pagination |
size |
number |
No | Page size for pagination |
Parameters returned as a result of wallet transaction query are also subject to the rules specified in the Response Formats section of the API documentation home page. In the absence of a systematic or fictional error, the sub-parameters of the object returned in the data
parameter are as follows:
Parameter Name | Type | Description |
---|---|---|
id |
number |
ID value of the wallet transaction |
createdDate |
date |
The date that the wallet transaction created |
walletTransactionType |
string |
Type of the wallet transaction |
amount |
decimal |
Amount value of the wallet transaction |
transactionId |
number |
ID value of the wallet transaction |
walletId |
number |
ID value of the related wallet |
You can review the sample codes in the open source Craftgate API clients.