Create an order

To create an order, you use orders resource. Order resources are used to handle customers' payments of previously defined offers. Orders expire after 24 hours unless the payment is captured. Payment method is required in order entity for payment but can be added in update order.

You should add paymentOperation and subscriptionId parameters for recurring orders.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int32

provided by Cleeng

int32
required

the identifier of Cleeng customer

string
required

the identifier for Cleeng offer

string
required

customer currency (e.g. USD)

string
required

2-letter country code. It is the country code of the country where purchase is made.

string

coupon code

string

tax rate in float (e.g. '0.23')

billingAddress
object
string

IP address of customer current location. Required conditionally when currency or country not supplied

string

operation type, e.g. recurring-payment (required on pair with subscriptionId)

string

the identifier of Cleeng subscription, e.g. 123123123 (required on pair with paymentOperation)

boolean

Whether an order refers to gift purchase

deliveryDetails
object
Headers
string
Defaults to application/json
string
required
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json