Generate Checkout Link
Last updated
Last updated
POST
/third-parties/checkout-link/generate-checkout-url
Headers
Name | Value |
---|---|
Body
Name | Type | Description | Required |
---|---|---|---|
Object structure of orderItems
Field | Dype | Description |
---|---|---|
Response
Content-Type
application/json
Authorization
Bearer <token>
orderReference
string
Your Order Reference, shouldn't include special characters such as !@#$%^&*()_+-=[]{};':"\|,.<>/?~]
true
orderCurrency
"TZS" | "USD"
Order Currency
true
totalPrice
number
Total Price
true if no added order items
orderItems
array of objects
An array of items, where each item includes name
, price
, and quantity
fields.
true if total price is not added
customerName
string
Customer full name
false
customerEmail
string
Customer email
false
customerPhone
string
Customer phone number
false
name
string
The name of the item.
price
number
The price of the item.
quantity
number
The quantity of the item ordered.