Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To reserve an account on Monnify, you’ll need to call the reserve account endpoint providing the information in the table below (remember to also add the authentication header)


Endpoint

POST: https://sandbox.monnify.com/api/v1/bank-transfer/reserved-accounts/limit

This endpoint is protected with OAuth 2.0 (Bearer Tokens)

Once an account number has been reserved for a customer, the customer can make payment by initiating a transfer to that account number at any time. Once the transfer hits the partner bank, we will notify you with the transfer details along with the accountReference you specified when reserving the account. 

Here is a sample request and response to help get you started:

Reserve Account with Limit Request
Request Headers
Content-Type:"application/json"
Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"


Request Body
{
    "contractCode":"915483727511",
    "accountName":"Kan Yo' Reserved with Limit ",
    "currencyCode":"NGN",
    "accountReference": "ref-007",
    "customerEmail": "KanYo@monnify.com",
    "customerName": "Kan Yo",
    "limitProfileCode": "2XKTQ3LE9NH2",
	"incomeSplitConfig": [
    	{
    		"subAccountCode": "MFY_SUB_319452883228",
    		"feePercentage": 10.5,
    		"splitPercentage": 20,
    		"feeBearer": true
    	}
    ]
}

Limits on Reserved Accounts

The limit profile code is mandatory for accounts with a limit associated with the limit profile

incomeSplitConfig allows you to use split payments with your reserved accounts by specifying one or more sub-account(s) and a specific percentage of each payment to be credited into each sub-account. IncomeSplitConfig is an array of objects so you can split into multiple sub-accounts per transaction.

Reserve Account with Limit Response
{
    "requestSuccessful": true,
    "responseMessage": "success",
    "responseCode": "0",
    "responseBody": {
        "contractCode": "797854529434",
        "accountReference": "abc123",
        "accountName": "Test Reserved Account",
        "currencyCode": "NGN",
        "customerEmail": "test@tester.com",
        "accountNumber": "9900910565",
        "bankName": "Providus Bank",
        "bankCode": "101",
        "reservationReference": "E9Y49CFNYAVHFGSCKJ6N",
        "status": "ACTIVE",
        "createdOn": "2019-08-11 23:00:43.816",
        "incomeSplitConfig": [
            {
                "subAccountCode": "MFY_SUB_319452883228",
                "feePercentage": 10.5,
                "feeBearer": true,
                "splitPercentage": 20
            }
        ]
    }
}

Field Reference

(M) indicates fields that are mandatory in the request body. (m) Indicates fields that are mandatory only if the parent object is not empty. 

FieldDescription
accountReference (M)

Your unique reference used to identify this reserved account

accountName (M)The name you want to be attached to the reserved account. This will be displayed during name inquiry

limitProfileCode(M)

The unique identifier that references the limit profile to associate with the reserved accounts.
currencyCode (M)Currency for transactions to this reserved account. Should be “NGN”
contractCode (M)Contract Code (See your Monnify dashboard)
customerEmail (M)The email address of the customer who the account is being reserved for. This is a unique identifier for each customer.
customerNameFull name of the customer who the account is being reserved for
customerBvnBVN of the customer the account is being reserved for. Please note that if BVN is not supplied there will be low limits on the reserved account.
incomeSplitConfig The object containing specifications on how payments to this reserve account should be split.
subAccountCode (m)The unique reference for the sub-account that should receive the split.
feeBearerBoolean to determine if the sub-account should bear transaction fees or not
feePercentageThe percentage of the transaction fee to be borne by the sub-account
splitPercentageThe percentage of the amount paid to be split into the sub-account.
bankNameName of the bank where the virtual account was created
bankCodeBank code of the bank where the virtual account was created
accountNumbervirtual account number generated for the accountReference (Reserved account number)
status

Status of the reserved account number ("ACTIVE" means the account can be used)

createdOn

Date reserved account was created

  • No labels