Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
themeMidnight
titleCreate Invoice Request
{
    "amount": "999",
    "invoiceReference": "1838913182",
    "description": "test invoice",
    "currencyCode": "NGN",
    "contractCode": "38238193818",
    "customerEmail": "johnsnow@gmail.com",
    "customerName": "John Snow",
    "expiryDate": "2019-10-30 12:00:00",
    "paymentMethods": ["ACCOUNT_TRANSFER"],
	"incomeSplitConfig": [
        {
            "subAccountCode": "MFY_SUB_319452883228",
            "feePercentage": 10.5,
            "splitAmount": 20,
            "feeBearer": true
        }
    ],
	"redirectUrl": "http://app.monnify.com"
}


Code Block
languagejs
themeMidnight
titleCreate Invoice Response
{
    "requestSuccessful": true,
    "responseMessage": "success",
    "responseCode": "0",
    "responseBody": {
        "amount": 999,
        "invoiceReference": "1566947667149",
        "invoiceStatus": "PENDING",
        "description": "test invoice",
        "contractCode": "4876165459",
        "customerEmail": "johnsnow@gmail.com",
        "customerName": "John Snow",
        "expiryDate": "2019-10-18 14:48:00",
        "createdBy": "MK_TEST_VR7J3UAACH",
        "createdOn": "2019-08-27 23:14:29",
        "checkoutUrl": "https://sandbox.sdk.monnify.com/checkout/MNFY|20190827231429|000340",
        "accountNumber": "2219635498",
        "accountName": "1566947667149",
        "bankName": "Providus Bank",
        "bankCode": "101"
    }
}

...