Lead payments
List lead payments
Needs the orders:read scope. About scopes
Card payments for lead orders and wallet top-ups, newest first. A payment recorded by hand shows on the order itself (paymentMethod: manual).
keyheader
AuthorizationBearer <traki_account_…>limit?integerRange
1 <= value <= 100Default
25cursor?stringLength
length <= 200updatedSince?stringFormat
date-timebuyerId?stringFormat
uuidorderId?stringFormat
uuidstatus?stringValue in
"open""paid""expired""canceled""failed"Success
application/json- response
data*array<>hasMore*booleannextCursor*string|nullcurl 'https://api.traki.io/v1/account/lead-payments' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string", "status": "string", "provider": "string", "buyer": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "order": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string" }, "currency": "string", "amount": "string", "creditApplied": "string", "cashFromWallet": "string", "discount": "string", "platformFee": "string", "promoCode": "string", "url": "string", "expiresAt": "string", "paidAt": "string", "closedAt": "string", "createdAt": "string" } ], "hasMore": true, "nextCursor": "string"}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.
The Buyer API and Publisher API keys of the account’s parties (never their secrets) GET
Next Page