Wallet History

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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:

ParameterInTypeRequiredDescription
walletIdPathIntegerYesWallet id from Get Wallets
limitQueryStringNooffset, count, for example 0, 100
startQueryIntegerNoOnly entries from this time, in milliseconds since epoch
endQueryIntegerNoOnly entries up to this time, in milliseconds since epoch
businessIdQueryIntegerNoIgnored 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:

FieldTypeDescription
statusBooleanStates if request was successfully executed or not
codeIntegerInternal code, success if 200
msgStringHistory
dataArrayHistory entries. reason describes each change

The full example is in the response panel.

Possible errors

Error codeDescription
204Input is invalid
342Your keys don't have permission to read wallet history
Path Params
string
required

Wallet ID

Query Params
string

Required when you call with a dashboard session token. With AccessKey/SecretKey it is ignored: the business comes from the key.

string

offset, count, for example 0, 100.

integer

Milliseconds since epoch.

integer

Milliseconds since epoch.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json