Generate Checkout Link
Generates a link for receiving payments via ClickPesa Hosted Checkout. After payment, customers are redirected to the Return URL configured on your hosted application in the dashboard. For payment status updates, use application webhooks and/or an optional callbackUrl on the request body (see Payment notifications in the Checkout Link API guide).
Documentation Index
Fetch the complete documentation index at: https://docs.clickpesa.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Authorization header containing the JWT access token returned from the generate token endpoint. The token already includes the Bearer prefix. Example: Authorization: Bearer eyJhbGciOi...
Body
- Body With Total Amount
- Body With Order Items
Your order amount
Your unique Order reference
Your order payment currency to receive in(e.g., TZS, USD)
TZS, USD Your customer name
Your customer email
Your customer phone number, starting with country code and without the plus sign, e.g., 255712345678
Your order description
Optional URL that receives an HTTP POST when a payment for this checkout link succeeds. Separate from application webhooks configured in the dashboard.
Optional WooCommerce order callback URL for this checkout link.
If enabled, this is the generated checksum of the payload. Refer to the documentation for more details.

