Money
Release a held payout
Needs the money:write scope. About scopes
Puts a held payout back to pending_review, to be approved again. Needs an Idempotency-Key.
keyheader
AuthorizationBearer <traki_account_…>id*stringFormat
uuidapplication/json- body
note?stringKept on the payout.
Length
1 <= length <= 500Success
application/json- response
id*stringFormat
uuidcode*stringpublisher*|nullstatementId*|nullamount*stringcurrency*stringstate*stringmethod*string|nullreference*string|nullpaidAt*string|nullversion*stringupdatedAt*stringcurl -X POST 'https://api.traki.io/v1/account/payouts/497f6eca-6276-4993-bfeb-53cbbbba6f08/release' \ -H "Authorization: Bearer $TRAKI_KEY" \ -H 'Content-Type: application/json' \ -H 'Idempotency-Key: a-unique-id-for-this-change' \ -d '{}'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "publisher": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "externalId": "string", "name": "string" }, "statementId": "775b692d-f1fa-4640-9327-0c9bb8d02222", "amount": "string", "currency": "string", "state": "string", "method": "string", "reference": "string", "paidAt": "string", "version": "string", "updatedAt": "string"}Hold a payout POST
Holds a payout waiting for review or approved, so it is not paid until released. Needs an Idempotency-Key.
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.