Payment Order Creation

service: createOrder

Request a Payment Order for a given client.

bizContent Request Parameters

Field
Type
Required
Description
Remark

order_sn

String

Y

Merchant Order Number

currency

String

Y

The currency of the payment.

Allowed values: USD

amount

Number

Y

The amount of the payment.

Example: 999.22

payerID

Integer

Y

The id of the payer.

Example: 157774

purposeOfTransaction

String

Y

Purpose of Transaction

Allowed values: ACCOUNTING_SERVICE ADVERTISING_SERVICE ARCHITECTURAL_DECORATION_DESIGN_SERVICE CLOTHES_BAGS_SHOES CAPITAL_INJECTION DAILY_SUPPLIES_AND_COSMETICS DRAFTING_LEGAL_SERVICE ELECTRONICS_AND_HOME_APPLIANCES ESTATE_AGENCY_SERVICE EXHIBITION_BOOTH_SERVICE HUMAN_RESOURCE_SERVICE INTERPRETATION_SERVICE INSURANCE LEGAL_RELATED_CERTIFICATION_SERVICE LIVING_ACCOMMODATION_COSTS MARKET_RESEARCH_SERVICE MONEY_LENDING_REPAYMENT OTHER_SERVICE OTHERS PAY_SUPPLIER PAY_FOR_GOODS PAYMENT_TO_OVERSEAS_SUPPLIERS PERSONAL_INVESTMENT PERSONAL_PURCHASE PROPERTY_PURCHASE REPATRIATION_OF_OVERSEAS_EARNINGS SOFTWARE_DEVELOPMENT_SERVICE TAX_SERVICE TOYS_KIDS_BABIES TRANSLATION_SERVICE TUITION_FEES WEB_DESIGN_OR_DEVELOPMENT_SERVICE

description

String

Y

Description

Example:

Goods Payment

skip3ds

String

N

Skips 3ds challenge if set to true

Default: False Example: True

domain

String

Y

Your business domain

Example: www.aaa.com

product

String

Y

Product Name

Single Product Example: Apple iPhone 13 Multiple Products use "| |" to connect product names Example: Apple iPhone 14||Apple iPad Air

bizContent Request Sample

{
  "order_sn": "ABC123456789",
  "currency": "USD",
  "amount": 99.99,
  "payerID": 157774,
  "purposeOfTransaction": "CLOTHES_BAGS_SHOES",
  "description": "Goods Payment",
  "skip3ds": "True",
  "domain": "www.xxx.com",
  "product": "Apple iPod"
}

bizContent Response Parameters

Field
Type
Required
Description
Remark

status

Integer

Y

Status of the response: 0 indicates success, -1 indicates failure.

errorCode

String

N

Application specific error code about any error that occurred during processing.

errorMessage

String

N

Error Description

data

Object

N

The actual data payload of the response, which can be of any JSON-compatible type

See Data Payload

Data Payload

Field
Type
Required
Description

order_sn

String

Y

platform_order_sn

String

Y

Unique Platform Order Number

requestID

String

Y

Unique identifier for the request

linkID

String

Y

Identifier for the Payment Order

status

String

Y

Current status of the Payment Order

creationTime

String

Y

Created Time

linkExpiry

String

Y

Expiry Time

Last updated