Add a bank detail
Add bank detail into which you can make withdrawals from one of your wallets. You can only add bank details in the following countries where Ivorypay currently supports bank payouts:
Nigeria
NOTE: This is not a required step for a bank payout.
POST https://api.ivorypay.io/v1/bank-details
Request Body
Name
Type
Description
accountNumber*
String
A valid bank account number
accountName*
String
The name associated with the account. Use the bank account name resolution endpoint to verify your bank account name.
bankName
String
The bank name
countryId*
String
A valid country ID
bankIdentifier*
String
A valid bank identifier. You can find the right bank identifier when you fetch a list of banks.
{
"status": "success",
"message": "Bank detail was added successfully",
"data": {
"accountNumber": "0100876261",
"accountName": "John Ibe",
"bankCode": "051",
"bankName": "Access Bank",
"countryId": "86666304-7d8e-42ca-8007-413570dd6ce9",
"userId": "3f795e70-3267-458d-9d45-4d66d01e118d",
"businessId": "e0353a89-09dc-4304-ac1e-618b6f88f721",
"swiftCode": null,
"uuid": "863c0b05-e9c4-4e92-818a-a0442e9adf55",
"isDeleted": false,
"isPrimary": 0,
"createdAt": "2022-10-03T16:19:38.039Z",
"updatedAt": "2022-10-03T16:19:38.039Z"
}
}{
"success": false,
"message": "Invalid data",
"statusCode": 400,
"errors": [],
"timestamp": "10/2/2022, 9:47:43
}Last updated