Fiat

GET /withdrawals/fiat_accounts

const getFiatWithdrawalAccounts = () => {
  const timestamp = Math.round(Date.now() / 1000)
  const payload = timestamp + 'GET' + '/withdrawals/fiat_accounts' + '{}'
  const decodedSecret = Buffer.from(apiSecret, 'base64')
  const hmac = crypto.createHmac('sha256', decodedSecret)
  const signedPayload = hmac.update(payload).digest('base64')

  // SET HEADERS
  const headers = {
    'X-NDAX-API-KEY': 'public_key',
    'X-NDAX-SIGNED': signedPayload,
    'X-NDAX-TIMESTAMP': timestamp,
    'X-NDAX-PASSPHRASE': 'passphrase'
  }
  const options = {
    headers,
    body,
    json: true
  }

  return request.get(
    'https://api.ndax.in/withdrawals/fiat_accounts',
    options
  )
}

Sample Response

{
  "message": [
    {
      "withdrawal_account_id": 286,
      "name": "Primary (1234)",
      "status": "PENDING_CREATION",
      "asset": "e₹",
      "limit": 750000,
      "type": "DOMESTIC_FIAT",
      "beneficiary_name": "John Doe",
      "account_number": "1231234",
      "bank_name": "BMO Harris",
      "routing_number": "07102343",
      "swift_code": null,
      "recipient_instructions": null,
      "intermediary_bank_name": null,
      "intermediary_bank_code_type": null,
      "intermediary_bank_code": null,
      "intermediary_bank_account_number": null,
      "correspondent_bank_name": null,
      "correspondent_bank_code_type": null,
      "correspondent_bank_code": null,
      "correspondent_bank_account_number": null,
      "last_update": 1571175076187,
      "participant_code": "ABCDEF"
    },
    { ... }
  ],
  "page": 1,
  "total_pages": 1
}

Retrieves a list of all whitelisted fiat withdrawal accounts.

ParameterDescriptionType

withdrawal_account_id

The ID of the withdrawal account

number

name

The nickname given to the withdrawal account

string

status

The approval status of the withdrawal account

string

asset

The asset code for the specific withdrawal account, e.g. e₹

string

limit

The limit applied to the account on a per-withdrawal basis

number

type

The type of account: REAL_TIME_FIAT for 24/7 CBDC(e₹) withdrawals, DOMESTIC_FIAT for NEFT, RTGS or INTERNATIONAL_FIAT for international wires

string

beneficiary_name

The owner of the account at the withdrawal destination

string

account_number

The unique IBAN or account number for the final withdrawal destination

string

bank_name

The name of the destination financial institution

string

routing_number

For US wires, the ABA routing number identifies the destination financial institution

string

swift_code

SWIFT code, NEFT, RTGS as applicable

string

recipient_instructions

Any additional instructions on the account

string

intermediary_ bank_name

Intermediary bank name, if applicable

string

intermediary_ bank_code_type

Intermediary bank identifier code type, if applicable Options include SWIFT

string

intermediary_ bank_code

Intermediary bank identifier that corresponds to intermediary_bank_code_type, if applicable

string

intermediary_ bank_account_number

Intermediary bank IBAN or account number, if applicable

string

correspondent_ bank_name

Correspondent bank name, if applicable

string

correspondent_ bank_code_type

Correspondent bank identifier code type, if applicable. Options include SWIFT, NEFT, RTGS

string

correspondent_ bank_code

Correspondent bank identifier that corresponds to correspondent_bank_code_type, if applicable

string

correspondent_ bank_account_number

Correspondent bank IBAN or account number, if applicable

string

last_update

Timestamp for when the withdrawal address last update

timestamp

submitted_address

This is the original value for an address submitted by you, that was converted into a newer format supported by NDAX - this will be null if no conversion is necessary

string

participant_code

The participant the request belongs to, e.g. ABCDEF

string

Last updated