Submit Checkout Order
Orders & Checkout
Submit Checkout Order
POST
Submit Checkout Order
Places a new checkout order for customer purchases. This endpoint performs strict validation checks, including:
- Verifies that the customer’s name contains only letters and spaces (Zod regex validation).
- Validates that the customer’s phone number is a valid Nigerian format (supports prefix variants e.g.
080...,234...,+234...). - Checks product inventory levels (ensuring products or variants have sufficient stock).
- Records the customer details and updates inventory logs dynamically.
Authorizations
Your Publishable Key (
pk_live_... or pk_test_...) generated from the Developer settings in your dashboard.Path Parameters
The unique UUID of the shop.
Request Body
Full name of the customer. Must contain only letters and spaces, at least 2 characters.
Contact phone number. Must be a valid Nigerian number format.
Email address.
Physical shipping address. Minimum 5 characters.
Currency ID reference.
Total price in Kobo (e.g.
1200000 for ₦12,000.00).List of order items. Each item must contain
productId, variantId (or null), and orderProductQty (min 1).Method used:
bank_transfer, cash_on_delivery, or card.Toggles whether this profile should be added to the customer database.