Generate Checkout Link
POST
/third-parties/checkout-link/generate-checkout-url
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Body
Name | Type | Description | Required |
---|---|---|---|
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 | true if total price is not added |
customerName | string | Customer full name | false |
customerEmail | string | Customer email | false |
customerPhone | string | Customer phone number | false |
Object structure of orderItems
Field | Dype | Description |
---|---|---|
name | string | The name of the item. |
price | number | The price of the item. |
quantity | number | The quantity of the item ordered. |
Response
Last updated