get
https://api.myvendy.com/wallets/history/
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Lists the credits and debits on one wallet. An unknown wallet returns an empty list. Each entry shows the balance before (pre) and after (post) the change.
Request:
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| walletId | Path | Integer | Yes | Wallet id from Get Wallets |
| limit | Query | String | No | offset, count, for example 0, 100 |
| start | Query | Integer | No | Only entries from this time, in milliseconds since epoch |
| end | Query | Integer | No | Only entries up to this time, in milliseconds since epoch |
| businessId | Query | Integer | No | Ignored when you use API keys. See Authentication |
Example request
curl --location 'https://api.myvendy.com/wallets/history/2011?limit=0,%2050' \
--header "AccessKey: $VENDY_ACCESS_KEY" \
--header "SecretKey: $VENDY_SECRET_KEY"Response:
| Field | Type | Description |
|---|---|---|
| status | Boolean | States if request was successfully executed or not |
| code | Integer | Internal code, success if 200 |
| msg | String | History |
| data | Array | History entries. reason describes each change |
The full example is in the response panel.
Possible errors
| Error code | Description |
|---|---|
204 | Input is invalid |
342 | Your keys don't have permission to read wallet history |
