Skip to content

Payout Bank Query API ​

Overview ​

The payout bank query API queries the merchant's available payout bank list, including bank ID, bank code, bank name and account type.

API Info ​

  • Endpoint: GET /api/bank
  • Method: GET
  • Content-Type: application/json

Request Headers ​

All API requests require the following headers, see API Signature:

HeaderTypeRequiredDescription
Content-TypestringYapplication/json, fixed
MerchantIdstringYMerchant ID provided by Veloraya
TimestampstringYCurrent timestamp (ms), anti-replay
NoncestringYRandom string, unique per request, anti-replay
SignaturestringYRequest signature (RSA), Base64 encoded

Request Parameters ​

No request parameters; the merchant ID is passed via headers.

Response Format ​

FieldTypeDescription
codeint200 success, non-200 failure
msgstringResponse message
dataarrayResponse data, bank list on success

Response Parameters (data) ​

data is an array; each element contains:

FieldTypeDescription
accountTypestringAccount type
bankIdstringBank ID
bankCodestringBank code
bankNamestringBank name

Account type enum ​

ValueDescription
BANKBank

Response Example ​

Success ​

json
{
  "code": 200,
  "msg": "SUCCESS",
  "data": [
    {
      "accountType": "BANK",
      "bankId": "355",
      "bankCode": "BAAC",
      "bankName": "BANK FOR AGRICULTURE AND AGRICULTURAL COOPERATIVES"
    }
  ]
}

Notes ​

  • Headers: all required headers must be passed, see API Signature
  • Signature: all requests must include a valid signature

Released under the MIT License.