/api/v1/order/create-order

Body Params
string

OSL Pay user ID At least one of userId or merchantUserId must be provided

string

Merchant-side user ID At least one of userId or merchantUserId must be provided

string

IP address. Must comply with IPv4 or IPv6 standards.

string
required

Unique merchant order ID

string
enum
required

Type code 0 = create new order (default) 1 = resubmit order. When resubmitting, merchantOrder must match original; quoteId can be updated, other fields cannot

Allowed:
string
enum
required

Business type

Allowed:
string
required

IP address

string

Merchant user level for risk control Use 1 if not differentiated. Otherwise map 0-4 (low → high)

string

Recurring Buy plan ID

quote
object
required
card
object
required
payment
object
required
withdraw
object
required
clientInfo
object
required
googlePayInfo
object
googlePayBillInfo
object
googlePayDecryptedRequestInfo
object
applePayInfo
object
applePayBillInfo
object
applePayDecryptedRequestInfo
object
string

Collect the token returned by clientInfo and replace the merchant's upload of clientInfo.

string

User's email. When the user uses the Apple Pay payment method, this field can be passed in, but it cannot be passed in simultaneously with userId.

Headers
string
required
string
required
string
required
Response

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