Skip to Content
Developers
Money

Hold a payout

Needs the money:write scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/account/payouts/{id}/hold

Holds a payout waiting for review or approved, so it is not paid until released. Needs an Idempotency-Key.

Authorization

key
headerAuthorizationBearer <traki_account_…>

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
note?string

Kept on the payout.

Length1 <= length <= 500

Response Body

Success

application/json
  1. response
id*string
Formatuuid
code*string
publisher*|null
statementId*|null
amount*string
currency*string
state*string
method*string|null
reference*string|null
paidAt*string|null
version*string
updatedAt*string
Example Request
curl -X POST 'https://api.traki.io/v1/account/payouts/497f6eca-6276-4993-bfeb-53cbbbba6f08/hold' \  -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"}