Create Payout
Send money from the account's balance to a bank account.
POST
Send money from the account's balance to a bank account.
API Keyheader
AuthorizationBearer <token>Your API key for the API. You can find it in your integration settings. Starts with sk_
Idempotency-Key?stringUnique key to safely retry this request. Repeating a key returns the original response instead of performing the operation again.
application/json- body
amount*numberFormat
doublecurrency*stringdestination*payout_method?null|stringclient_reference_id?null|stringOK
application/json- response
data*status?stringcurl -X POST 'https://api.kingsplatform.net/api/v1/payouts' \ -H 'Content-Type: application/json' \ -d '{ "amount": 0.1, "currency": "string", "destination": { "type": "string", "bank_account": { "bank_code": "string", "account_number": "string" } }}'Example Response
{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "account_id": "449e7a5c-69d3-4b8a-aaaf-5c9b713ebc65", "currency": null, "status": null, "type": null, "bank": null, "account_number": "string", "account_holder_name": "string", "amount": 0.1, "fee": 0.1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z", "account_bank_account_id": null, "balance_transaction_id": null, "client_reference_id": null, "return_balance_transaction_id": null, "payout_method": null }, "status": "string"}