Initiate Transaction

There are two ways of initiating a transaction which are: Standard and Inline their requests are as follows;

{
"order_id": "new1111",
"public_key": "PUB_TEST_0000000000",
"customer": {"first_name":"newauto","last_name":"credit","email":"hellfo1221@au4tocredit.ng","phone":"00000000", "bvn": "00000", "nin":"000000"},
"items": [
    {
        "item":"Acceptnce fee",
        "revenue_head_code": "REV630c9bbd965c7",
        "unit_cost":10000.43, 
        "split_details": [
            {
            "sub_account_code": "SB630c9b61eef40",
            "fee_percentage": 60,
            "fee_flat": 0
            },
            {
            "sub_account_code": "SB630c9b61eef40",
            "fee_percentage": 40,
            "feeFlat": 0
            }
        ]
    }, 
    {
        "item":"School Fee",
        "revenue_head_code": "REV630c9bbd965c7",
        "unit_cost":50000.33, 
        "split_details": [
            {
            "sub_account_code": "SB630c9b61eef40",
            "fee_percentage": 40,
            "feeFlat": 0
            },
            {
            "sub_account_code": "SB630c9b61eef40",
            "fee_percentage": 60,
            "feeFlat": 0
            }
        ]
    }
],
"currency": "NGN",
"paytype": "standard"
}

POST https://demo.backend.monicredit.com/api/v1/payment/transactions/init-transaction

Headers

Name
Type
Description

Accept*

String

application/json

Last updated