/api/v1/order/create-order

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
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

The user's email address. This field is required for small-amount transactions in non-KYC scenarios. Do not provide if userId is already included.

string

A unique identifier returned after binding a card, specifically used for Sell Crypto scenarios.
This field is mandatory only when businessType is set to SELL and payWayCode is either BANKACCOUNT or ATMCARD.

string

An additional identification number (e.g., CPF for users in Brazil).

Headers
string
required
string
required
string
required
Response

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