...
Code Block |
---|
|
{
"amount": 1020,
"reference":"reference12934ben9-jlo00hdhdjjdfjoj--i",
"narration":"911 TransactionTest01",
"destinationBankCode": "035057",
"destinationAccountNumber": "50001431152085096393",
"destinationAccountNamecurrency": "Benjamin WilsonNGN",
"currencysourceAccountNumber": "NGN8016472829",
"sourceAccountNumberdestinationAccountName": "9624937372Marvelous Benji"
} |
If the merchant does not have Two Factor Authentication (2FA) enabled, the transaction will be processed instantly and the response will be as follows:
...
Code Block |
---|
|
{
"requestSuccessful": true,
"responseMessage": "success",
"responseCode": "0",
"responseBody": {
"amount": 1020,
"sessionIdreference": "090405220516131608508626806834ben9-jlo00hdhdjjdfjoj--i",
"referencestatus": "reference12934SUCCESS",
"statusdateCreated": "SUCCESS"2022-11-03T14:13:38.140+0000",
"dateCreatedtotalFee": 0.00,
"13/11/2019 09:34:32 PM",
"totalFee": 20.00 "sessionId": "090405221103151339936348270655",
}
} |
...
"destinationAccountName": "Marvelous Benji",
"destinationBankName": "Zenith bank",
"destinationAccountNumber": "2085096393",
"destinationBankCode": "057"
}
} |
If the merchant has Two Factor Authentication (2FA) enabled, a One Time Password (OTP) will be sent to the designated email address(es). That OTP will need to be supplied via the VALIDATE OTP REQUEST before the transaction can be approved. If 2FA is enabled, the response will be as follows:
Initiate Transfer (Single) Response 2FA Enabled
...
...
, the response will be as follows:
Initiate Transfer (Single) Response 2FA Enabled
Code Block |
---|
|
{
"requestSuccessful": true,
"responseMessage": "success",
"responseCode": "0",
"responseBody": {
"amount": 20,
"reference": "ben9-jlo00hdhdjjdfjoji",
"requestSuccessfulstatus": true"PENDING_AUTHORIZATION",
"responseMessage": "success",
"responseCode": "0", "dateCreated": "2022-11-03T14:11:12.659+0000",
"responseBodytotalFee": {0.00,
"amountdestinationAccountName": 10"Marvelous Benji",
"referencedestinationBankName": "reference12934Zenith bank",
"statusdestinationAccountNumber": "PENDING_AUTHORIZATION8067628016",
"dateCreateddestinationBankCode": "13/11/2019 08:48:32 PM057"
}
} |
To simulate a failed disbursement transaction on the sandbox environment, you should use this destination account number: 0035785417 and destination bank code: 044. Here is a sample request:
Initiate Transfer (Single) Failed Disbursement Transaction Request
Code Block |
---|
| { |
{
"amount": 20,
"reference":"ben9-jlo00hdhdjjdfjoji",
"narration":"Test01",
"destinationBankCode": "057",
"amountdestinationAccountNumber": 10"2085096393",
"referencecurrency": "reference12934NGN",
"narrationsourceAccountNumber": "911 Transaction8016472829",
"destinationAccountName": "destinationBankCode": "044",Marvelous Benji"
} |
The response will be as follows:
Initiate Transfer (Single) Failed Disbursement Transaction Response
Code Block |
---|
|
{
"destinationAccountNumberrequestSuccessful": "0035785417"true,
"destinationAccountNameresponseMessage": "Shola Adebayosuccess",
"currencyresponseCode": "NGN0",
"sourceAccountNumber": "9624937372"
} |
The response will be as follows:
Initiate Transfer (Single) Failed Disbursement Transaction Response
Code Block |
---|
|
{responseBody": {
"amount": 20,
"requestSuccessfulreference": true,"ben9-jlo00hdhdjjdfjoji",
"responseMessagestatus": "successFAILED",
"responseCodedateCreated": "0",
"responseBody": {"2022-11-03T14:11:12.659+0000",
"amounttotalFee": 500.00,
"referencedestinationAccountName": "ref1622802875358Marvelous Benji",
"statusdestinationBankName": "FAILEDZenith bank",
"dateCreateddestinationAccountNumber": "2021-06-04T10:34:38.269+00008067628016",
"totalFeedestinationBankCode": 35.00"057"
}
} |
...
Bulk Transfers
To initiate a bulk transfer, you will need to send a request to the endpoint below:
...