Money
Buyer statements and publisher payout statements
Needs the money:read scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>limit?integerRange
1 <= value <= 100Default
25cursor?stringLength
length <= 200updatedSince?stringFormat
date-timebuyerId?stringFormat
uuidpublisherId?stringFormat
uuidSuccess
application/json- response
data*array<>hasMore*booleannextCursor*string|nullcurl 'https://api.traki.io/v1/account/statements' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "data": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "kind": "string", "buyer": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "publisher": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "periodStart": "string", "periodEnd": "string", "billableCalls": -9007199254740991, "billableLeads": -9007199254740991, "amount": "string", "currency": "string", "state": "string", "settledAt": "string", "updatedAt": "string" } ], "hasMore": true, "nextCursor": "string"}Settle a buyer’s dispute POST
Decides an open dispute, as the portal’s Accept and Reject do. `accept` credits the buyer (the disputed amount, or `creditAmount`; 0 accepts with no credit) on the buyer statement covering the charge; `reject` closes it with no credit. A dispute already decided answers 422 dispute_closed. Needs an Idempotency-Key, so a retry credits once.
One statement GET
Next Page