Keys
The key making this request
Needs no scope. About scopes
Answers the Account API key's own details and the account it is locked to. Needs no scope.
keyheader
AuthorizationBearer <traki_account_…>Success
application/json- response
keyId*stringname*stringapi*stringValue in
"account""publisher""buyer"mode*stringValue in
"live""test"scopes*array<string>version*stringexpiresAt*string|nullaccount*holder*|nullcurl 'https://api.traki.io/v1/account/key' \ -H "Authorization: Bearer $TRAKI_KEY"Example Response
{ "keyId": "string", "name": "string", "api": "account", "mode": "live", "scopes": [ "string" ], "version": "string", "expiresAt": "string", "account": { "name": "string", "timezone": "string", "currency": "string" }, "holder": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }}All routes
Every route of the Account API, with the scope it needs. Each links to its own page.
Approve a payout POST
Approves a payout waiting for review, so it can be paid. Only a payout in `pending_review` can be approved (422 bad_transition). Needs an Idempotency-Key: sending the same request again with the same key answers as the first did and approves once.