network-wiredCreate PayIn

Create payment order

post

Creates a cryptocurrency payment order via Binance or other supported channels, supporting major tokens like USDT.

Workflow:

  1. Merchant system calls this API to create an order

  2. User completes payment using the returned payment methods

  3. System notifies merchant of payment result asynchronously (via callbackUrl)

Header parameters
BiuLinkPay-AppIdstringRequired
BiuLinkPay-TimeStampstringRequired
BiuLinkPay-NoncestringRequired
BiuLinkPay-SignaturestringRequired
Body
tradeNostringRequired

Unique transaction identifier

Example: 7788991111711117111
userMarkstringRequired

User identifier/email

Example: [email protected]
payTypestring · enumRequired

Payment method/provider

Example: BINANCEPossible values:
orderAmountnumber · floatRequired

Order amount

Example: 1
orderTokenstringRequired

Cryptocurrency token for payment

Example: USDT
orderNetworkstringOptional

Blockchain network for transaction

Example: BSC
settlementAddressstringOptional

Recipient address

Example: 123
currencyTypestring · enumRequired

Type of currency

Example: CRYPTOPossible values:
fiatUnitstringOptional

Fiat currency unit for reference

Example: VND
expiredTimeintegerOptional

Expiration time in milliseconds,default 950

Example: 10000
redirectUrlstring · uriOptional

URL for redirection after payment

Example: https://redirectUrl
callbackUrlstring · uriOptional

URL for payment confirmation callback

Example: https://callbackUrl
refundCallbackUrlstring · uriOptional

URL for refund processing callback

Example: https://refundCallbackUrl
feenumber · floatOptional

Transaction fee (fee not's empty,feeRatio is invalid)

Example: 0.1
feeRationumber · floatOptional

Fee ratio (value is percentage, if feeRatio & fee is null,get merchant config)

Example: 0.01
deductionMethodstring · enumOptional

Fee deduction method

Example: OUTER_BUCKLEPossible values:
Responses
chevron-right
200

Successful operation

application/json
post
/pay/merchant/buyOrder
200

Successful operation

Last updated