GET /api/auth/get-bank-accounts

Use this API to get bank accounts.

Example Request

curl -X GET '<https://idrx.co/api/auth/get-bank-accounts>' --header 'idrx-api-key: <API_KEY>' --header 'idrx-api-sig: <signature>' --header 'idrx-api-ts': <timestamp>'

Response

If the request is successful, the response will be as shown below:

{
    "statusCode": 200,
    "message": "success",
    "data": [
        {
            "id": 108,
            "userId": 411,
            "bankAccountNumber": "5017332241",
            "bankAccountName": "JOHN SMITH",
            "bankAccountNumberHash": null,
            "bankCode": "014",
            "bankName": "BANK CENTRAL ASIA",
            "maxAmountTransfer": "100000000",
            "deleted": false,
            "DepositWalletAddress": {
                "walletAddress": "0x07C158ab29f23D0821e7D24B191c5e5d9d72738b",
                "createdAt": "2024-01-17T10:34:22.304Z"
            }
        },
        ...,
    ]
}

Last updated