curl --location '/api/v1/merchants/checkouts' \
--header 'x-api-key: mk_a8Kp2mN9xQv7sL4wR1yT6uH3jF0cB5dE8gZ12' \
--header 'Content-Type: application/json' \
--data-raw '{
"customer_email": "user@example.com",
"customer_name": "string",
"customer_phone": "string",
"customer_phone_editable": true,
"amount": 1,
"currency_code": "GHS",
"description": "string",
"expires_in_minutes": 30,
"meta_data": {
"property1": "string",
"property2": "string"
}
}'{
"data": {
"id": "c4e8b1a2-9f3d-4e7a-b6c5-1d2e3f4a5b6c",
"payment_reference": "PAY-K7M2Q9X4",
"checkout_url": "https://app.kutanaafrica.com/public/checkouts/PAY-K7M2Q9X4#token=9f3e2a1b4c5d6e7f8a9b0c1d2e3f4a5b6c7d8e9f0a1b2c3d4e5f6a7b8c9d0e1f2",
"amount": 150,
"currency_code": "GHS",
"status": "pending",
"customer_email": "ama.mensah@acmecustomer.com",
"customer_name": "Ama Mensah",
"customer_phone": "+233241234567",
"customer_phone_editable": false,
"description": "Order #ORD-7842",
"expires_at": "2026-03-27T12:30:00",
"paid_at": null,
"created_at": "2026-03-26T12:30:00"
},
"message": "Checkout created",
"status": "success"
}