Add Linked Accounts
This API allows you to add accounts with another partner bank and link to an existing customer with the customer's account reference.
This endpoint is protected with OAuth 2.0 Bearer token. To find out more about authorization for Monnify endpoints, check Here
Endpoint URL: {{base_url}}/api/v1/bank-transfer/reserved-accounts/add-linked-accounts/{{accountReference}}
HTTP Method: PUT
The {{base_url}} for test is https://sandbox.monnify.com
but when you go live, it changes to the live url
Add Linked Accounts Sample Request (Add an account by another partner bank to an existing customer)
Request Headers
Content-Type:"application/json"
Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"
Â
Â
Request Body
{
"getAllAvailableBanks": false,
"preferredBanks": ["058"]
} |
If getAllAvailableBanks
is set to true, then an account with all available banks not yet linked will be added. Set getAllAvailableBanks
to false if you want to specify preferred banks to reserve accounts with.
set to true if you want to add all other available partner bank accounts to your reserved account.
Add Linked Accounts Sample Response
{
"requestSuccessful": true,
"responseMessage": "success",
"responseCode": "0",
"responseBody": {
"contractCode": "915483727511",
"accountReference": "121615386005862",
"accountName": "reservedAccountName",
"currencyCode": "NGN",
"customerEmail": "nnaemekapaschal@gmail.com",
"customerName": "Pascool",
"accounts": [
{
"bankCode": "035",
"bankName": "WEMA Bank",
"accountNumber": "XXXX123456"
},
{
"bankCode": "50515",
"bankName": "Moniepoint",
"accountNumber": "XXXX123456"
},
{
"bankCode": "058",
"bankName": "GTBank",
"accountNumber": "0786197689"
}
],
"collectionChannel": "RESERVED_ACCOUNT",
"reservationReference": "8MHKXZS8GCEPVXB59ML6",
"reservedAccountType": "GENERAL",
"status": "ACTIVE",
"createdOn": "2021-03-10 15:20:07.0",
"restrictPaymentSource": false
}
} |
Â