Skip to Content
KingsPay Docs

Inquiry Payout

Check a bank account and get its holder name before creating a payout.

POST
/v1/payouts/inquiry

Check a bank account and get its holder name before creating a payout.

Authorization

API Key
headerAuthorizationBearer <token>

Your API key for the API. You can find it in your integration settings. Starts with sk_

Header Parameters

Idempotency-Key?string

Unique key to safely retry this request. Repeating a key returns the original response instead of performing the operation again.

Request Body

application/json
  1. body
destination*
payout_method?null|string

Response Body

OK

application/json
  1. response
data*
status?string
Example Request
curl -X POST 'https://api.kingsplatform.net/api/v1/payouts/inquiry' \  -H 'Content-Type: application/json' \  -d '{  "destination": {    "type": "string",    "bank_account": {      "bank_code": "string",      "account_number": "string"    }  }}'
Example Response
{  "data": {    "bank_code": "string",    "account_number": "string",    "account_holder_name": "string"  },  "status": "string"}