Skip to main content
Before reading this API documentation, be sure to check the API Description

Collection API

Collection Application

Brief Description:
  • Creates a collection order.
URL: /{currency}/collect/apply Note: appId, amount, and the final settlement amount all correspond to Path Parameters:
Parameter NameRequiredTypeDescription
currencyYesStringOrder Currency
Parameters:
Parameter NameRequiredTypeDescription
appIdYesLongBusiness ID (obtained from the backend, corresponds to the currency of the order)
orderIdYesStringMerchant order number (must be unique, length not exceeding 48)
nameYesStringUser name, recommended to use real name, format: include firstName and lastName, separated by space, example: Donald John Trump
phoneYesStringReal mobile number
emailYesStringReal email address
amountYesStringTransaction amount (Unit: yuan)
currencyNoStringCurrency (specify the currency of the transaction amount when placing the order; if it differs from the order currency, an exchange rate conversion will occur, overriding the transaction amount)
payTypeYesStringTransaction type
inBankCodeYesStringPayment method
callBackUrlYesStringRedirect URL after successful payment
callBackFailUrlYesStringRedirect URL after failed payment
notifyUrlNoStringCallback URL
subjectYesStringPayment memo (transaction title, product name, payment reason)
bodyNoStringRemarks details
partnerUserIdYesStringUnique user identifier (e.g., userId), used for risk control system, must be valid, otherwise it will affect the transaction. Format: digits, letters, or symbols -~!@#$%&*()_.
signYesStringSignature
Vietnam:
Parameter NameRequiredTypeDescription
outBankNoNoStringPayer’s bank card number (required when payType is PAYMENT_GATEWAY)
outBankCodeYesStringCollection code (same as inBankCode)
Pakistan HBL_KONNECT/ALFA:
Parameter NameRequiredTypeDescription
idCardYesStringID card number
Middle East:
Parameter NameRequiredTypeDescription
goodsNameYesStringProduct name
goodsQuantityYesStringProduct quantity
goodsPriceYesStringProduct unit price
goodsSkuYesStringProduct unique identifier
goodsAvatarYesStringProduct image (https://)
platformYesStringPlatform name
Returned data parameter description:
Parameter NameTypeDescription
orderIdStringMerchant order number
orderNoStringPlatform order number
payUrlStringPayment link
qrCodeStringQR code content (present when payType is QR)
amountStringOrder amount (present when the order currency differs from the transaction currency)
exchangeRateStringExchange rate (present when the order currency differs from the transaction currency)
orderAmountStringOriginal order amount (present when the order currency differs from the transaction currency)
signStringSignature
Vietnam:
Parameter NameTypeDescription
bankCodeStringReceiving bank code (may differ from the specified outBankCode at order creation)
bankNameStringReceiving bank name
bankNoStringReceiving card number (present when payType is BANK_TRANSFER)
bankUserNameStringReceiver’s name (present when payType is BANK_TRANSFER)
descriptionStringTransfer memo (present when payType is BANK_TRANSFER)
Egypt:
Parameter NameTypeDescription
referenceCodeStringReference code
bankNoStringReference code
Indonesia VA:
Parameter NameTypeDescription
bankNoStringVA number

Collection Query

Brief Description:
  • After receiving the asynchronous payment notification, you can use this query to re-confirm the status.
URL: /{currency}/collect/query
Path Parameters:
Parameter NameRequiredTypeDescription
currencyYesStringOrder Currency
Parameters:
Parameter NameRequiredTypeDescription
appIdYesLongBusiness ID (obtained from the backend, corresponds to the order currency)
orderIdNoStringMerchant order number (choose one between this and platform order number)
orderNoNoStringPlatform order number (choose one between this and merchant order number)
signYesStringSignature
Returned data parameter description
Parameter NameTypeDescription
orderIdStringMerchant order number (must be unique)
orderNoStringPlatform order number
amountStringTransaction amount
actualAmountStringAmount received
feeStringFee
statusIntegerStatus
0: Not started
1: Collecting
2: Collection successful
3: Collection failed
-1: Abnormal, to be confirmed)
payTimeStringPayment success time (has a value when status=2)
Format: yyyy-MM-dd HH:mm:ss
Timezone: Timezone of the order currency
errorMsgStringPayment failure reason (has a value when status=3)
signStringSignature

Collection Query v2

Brief Description:
  • After receiving the asynchronous payment notification, you can use this query to re-confirm the status.
URL: /{currency}/collect/query/v2
Path Parameters:
Parameter NameRequiredTypeDescription
currencyYesStringOrder Currency
Parameters:
Parameter NameRequiredTypeDescription
appIdYesLongBusiness ID (obtained from the backend, corresponds to the order currency)
orderIdNoStringMerchant order number (choose one between this and platform order number)
orderNoNoStringPlatform order number (choose one between this and merchant order number)
signYesStringSignature
Returned data parameter description
Parameter NameTypeDescription
orderIdStringMerchant order number (must be unique)
orderNoStringPlatform order number
currencyStringOrder currency
amountStringTransaction amount
actualAmountStringAmount received
feeStringFee
statusIntegerStatus
0: Not started
1: Collecting
2: Collection successful
3: Collection failed
-1: Abnormal, to be confirmed)
payTimeStringPayment success time (has a value when status=2)
Format: yyyy-MM-dd HH:mm:ss
Timezone: Timezone of the order currency
errorMsgStringPayment failure reason (has a value when status=3)
originalCurrencyStringActual payment currency
floatExchangeRateStringExchange rate involved in currency conversion
originalAmountStringActual payment amount
signStringSignature

Payout API

Payout Application

Brief Description:
  • Creates a payout order.
URL: /{currency}/pay/apply Path Parameters:
Parameter NameRequiredTypeDescription
currencyYesStringOrder Currency
Parameters:
Parameter NameRequiredTypeDescription
appIdYesLongBusiness ID (obtained from the backend, corresponds to the currency of the order)
orderIdYesStringMerchant order number (must be unique, length not exceeding 48)
amountYesStringTransaction amount (Unit: yuan)
accountTypeYesStringAccount type
bankCodeYesStringBank code
accountNoYesStringUser account number
nameYesStringPayee’s name
phoneYesStringReal mobile number
emailYesStringReal email address
notifyUrlNoStringCallback URL
subjectNoStringPayment memo (transaction title, product name, payment reason)
bodyNoStringRemarks details
partnerUserIdYesStringUnique user identifier (e.g., userId), used for risk control system, must be valid, otherwise it will affect the transaction. Format: digits, letters, or symbols -~!@#$%&*()_.
signYesStringSignature
Brazil PIX:
Parameter NameRequiredTypeDescription
identifyTypeYesStringAccount type (CPF/PHONE/EMAIL)
Turkey Bank:
Parameter NameRequiredTypeDescription
identifyTypeNoStringRequired when bankCode is PAPARA:
PAPARA_NUMBER(Papara ID)
PHONE(real mobile number registered with Papara)
EMAIL(email registered with Papara)
TURKISH_ID(ID card number registered with Papara)
Saudi Arabia Bank:
Parameter NameRequiredTypeDescription
ibanAccountYesStringIBAN account (SA + 2-digit checksum + 3-digit bank code + 16-digit account number)
US ACH:
Parameter NameRequiredTypeDescription
identifyTypeYesStringBank routing code
countryYesStringPayee’s country
address1YesStringPayout address - detailed street
address2YesStringPayout address - city
address3YesStringPayout address (province, state)
postalCodeYesStringPayout postal code
Russia CARRIER_BILLING:
Parameter NameRequiredTypeDescription
countryYesStringCountry
carrierYesStringTelecom carrier, supported: megafon, tmobile, beeline, mst, tele2, yota
Returned data parameter description
Parameter NameRequiredType
orderIdStringMerchant order number
orderNoStringPlatform order number
signStringSignature

Payout Query

Brief Description:
  • After receiving the asynchronous payment notification, you can use this query to re-confirm the status.
URL: /{currency}/pay/query Path Parameters:
Parameter NameRequiredTypeDescription
currencyYesStringOrder Currency
Parameters:
Parameter NameRequiredTypeDescription
appIdYesLongBusiness ID (obtained from the backend, corresponds to the order currency)
orderIdNoStringMerchant order number (choose one between this and platform order number)
orderNoNoStringPlatform order number (choose one between this and merchant order number)
signYesStringSignature
Returned data parameter description
Parameter NameTypeDescription
orderIdStringMerchant order number (must be unique)
orderNoStringPlatform order number
amountStringTransaction amount
feeStringFee
statusIntegerOrder status
0: Not started
1: Payout in progress
2: Payout successful
3: Payout failed
-1: Abnormal, to be confirmed
payTimeStringPayment success time (has a value when status=2)
Format: yyyy-MM-dd HH:mm:ss
Timezone: Timezone of the order currency
errorMsgStringPayment failure reason (has a value when status=3)
signStringSignature
For all payment methods, request parameters, and limits for different countries/regions and currencies, please refer to the Payment Method List
Last modified on April 17, 2026