Create a checkout session
Create a new hosted checkout session for a project. Returns a session ID and a payment URL to share with your customer.
Authorizations
Use your Simiz API key as the Bearer token.
Keys starting with smz_test_sk_ target sandbox, smz_live_sk_ target production.
Headers
Unique key for idempotent requests. Same key within 24h returns original response.
"idem_a1b2c3d4e5"
Path Parameters
UUID of the project
Body
Payment amount (minimum: 100)
x >= 1005000
XAF, XOF "XAF"
Redirect URL after successful payment
"https://merchant.com/payment/success"
Redirect URL if payment is cancelled
"https://merchant.com/payment/cancel"
Payment description shown to the customer
"Order #1234"
Custom key-value metadata
Response
Checkout session created
Checkout session ID
"cs_abc123"
Payment URL for the customer
"https://pay.simiz.io/cs/abc123"
5000
"XAF"
Checkout session lifecycle:
idle— Session created, waiting for payment initiationprocessing— Payment being processedpending_ussd— Waiting for USSD confirmation from payersuccess— Payment completedfailed— Payment failedexpired— Session expiredcancelled— Session cancelled
idle, processing, pending_ussd, success, failed, expired, cancelled Checkout-specific payment methods (broader than core):
ORANGE_MONEY,MTN_MOMO,WAVE,MOOV_MONEY
ORANGE_MONEY, MTN_MOMO, WAVE, MOOV_MONEY Payment ID once payment is initiated

