API Reference

Create Online Checkout

This API endpoint enables the creation of an online checkout order, where all payment information is included within the request to facilitate customer payments via deema. The response will return a order_reference, order status, and a redirect_link. Be sure to store the order_reference in your database to retrieve order details later, and direct customers to the redirect_link to complete the transaction smoothly through deema.

Body Params
float
required
Defaults to 1

Total amount to be charged to consumer. amount => 1

string
required
Defaults to KWD

The three-letter unique ISO currency code.

string
required

Unique order ID from the merchant's side, which will be used for settlement and reporting purposes. Can be modified after the checkout session is created.

merchant_urls
object
required

This object includes all the redirect URLs that the customer will be redirected to from the deema checkout page in different cases.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Choose an example:
application/json