OnLink
API reference

Your KES payout destinations

The destinations a sell order may name in payoutAccountId. Read-only: destinations are registered by OnLink, not through this API, so your API credential cannot add a place for money to go. Only active destinations are listed. Account numbers are returned as the last four digits only — you select a destination 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": "PESASWAP LIMITED",    "bankCode": null,    "label": "Primary settlement"  }]