GET /withdrawals/fiat_accounts/:id
const getFiatWithdrawalAccounts = () => {
const timestamp = Math.round(Date.now() / 1000)
const payload = timestamp + 'GET' + '/withdrawals/fiat_accounts/:id' + '{}'
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/:id',
options
)
}
{
"message": {
"withdrawal_account_id": 286,
"name": "Primary (1234)",
"status": "PENDING_CREATION",
"asset": "e₹",
"limit": 750000,
"type": "DOMESTIC_FIAT",
"beneficiary_name": "Ramesh Sahu",
"account_number": "1231234",
"bank_name": "Kotak Mahindra,
"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"
}
}
Returns a specific fiat withdrawal account associated with your participant or platform.