OnLink
API reference

Your KES payout destinations

Your OnLink KES account(s). Pass an account's payoutAccountId on POST /v1/orders/sell; the KES lands in that account. Read-only: the list is your own KES account(s), so your API credential cannot add a place for money to go. Only active, named KES accounts are listed. Account numbers are returned as the last four digits only — you select an account by id and never type its number.

GET
/v1/payout-accounts

Authorization

partner-key
X-OnLink-Key<token>

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/payout-accounts"
[  {    "payoutAccountId": "dd9f1e6a-0000-4000-8000-000000000003",    "accountNumberLast4": "6789",    "accountName": "EXAMPLE TRADING LIMITED",    "bankCode": null,    "label": "OnLink KES account"  }]