Lead wallets
A buyer’s wallet ledger, newest first
Needs the orders:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>buyerId*stringFormat
uuidlimit?integerRange
1 <= value <= 100Default
25cursor?stringLength
length <= 200Success
application/json- response
data*array<>hasMore*booleannextCursor*string|nullcurl 'https://api.traki.io/v1/account/buyers/497f6eca-6276-4993-bfeb-53cbbbba6f08/lead-wallet/entries' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "at": "string", "type": "string", "cash": "string", "credit": "string", "cashAfter": "string", "creditAfter": "string", "order": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string" }, "note": "string", "createdBy": "string" } ], "hasMore": true, "nextCursor": "string"}Get a buyer’s lead wallet GET
Previous Page
Add cash or credit to a buyer’s wallet, or take it back POST
The same as adding to a wallet on the Lead payments screen: cash received outside the platform, or credit, positive or negative (never below zero), with the reason the ledger keeps. Send an Idempotency-Key: a retry adds one entry.