Skip to Content
Version 1.1 · A Coming soon badge is a backward-compatible change still rolling out.
Banks

Banks

POST /banks

Returns banks you can use for the currency. Each item has name, branch, bankCode, branchCode, and nameShort.

The list may be empty for currencies where any bank is accepted. That includes JPY. For a JPY withdrawal, send the Zengin bank code in destination yourself.

Request

FieldRequiredNotes
currencynoFor example JPY
timestamp, nonceyesSee signing

Samples

banks.sh
API_KEY="YOUR_API_KEY" SECRET_KEY="YOUR_SECRET_KEY" BASE_URL="https://api-sandbox.inspay.dev/merchant" CANONICAL='{"currency":"JPY","nonce":"e7f8a9b0","timestamp":"1791729147"}' SIG=$(printf '%s' "$CANONICAL" | openssl dgst -sha256 -hmac "$SECRET_KEY" -hex | awk '{print $NF}') curl -sS -X POST "$BASE_URL/banks" \ -H "Content-Type: application/json" \ -H "x-api-key: $API_KEY" \ -H "x-signature: $SIG" \ --data-binary "$CANONICAL"

Response 200

Each item has these fields. The values below are illustrative.

banks-response.json
[ { "name": "Example Bank", "branch": "Example Branch", "bankCode": "0000", "branchCode": "000", "nameShort": "EXAMPLE" } ]

An empty array is a valid response for JPY.

Last updated on