POST
/
checkout
/
create
curl --request POST \
  --url https://sandbox.gateway.mona.ng/checkout/create \
  --header 'Content-Type: application/json' \
  --data '{
  "merchantId": "<string>",
  "customerId": "<string>",
  "customerPhone": "+2349347685434",
  "amount": 50000,
  "paymentOptions": [
    "bankTransfer",
    "card",
    "mona"
  ],
  "cart": {
    "items": [
      {
        "productId": "BGI-CLA-1243",
        "imageUrl": "https://afrizonemart.com/wp-content/uploads/2022/11/Mt2TGyrMxl_1200x1200.jpg",
        "productName": "Bigi Cola 500ML",
        "quantity": 2,
        "unitPrice": 1500000
      }
    ]
  },
  "payLineItems": [
    {
      "name": "Subtotal",
      "amount": 40000
    }
  ],
  "monaEnrolment": {
    "reference": "<string>",
    "validFromDate": "15-MAR-2024",
    "validToDate": "15-MAR-2025",
    "maximumIndividualAmount": 50000,
    "periodicLimits": [
      {
        "amount": 50000,
        "periodType": "Day",
        "periodAlignment": "Consent"
      }
    ]
  }
}'
{
  "success": true,
  "message": "<string>",
  "transactionId": "<string>",
  "url": "<string>"
}

Body

application/json

Checkout session parameters

The body is of type object.

Response

200
application/json

Checkout created response

The response is of type object.