Skip to content

Collection Orders

Collection Request

URL

POST /accountProxyCollect/initCollect

Request Parameters

Field NameDescriptionTypeMax LengthRequiredRemarksExample
userOrderNumberUser Order Numberstring50YesCustom user-defined order number
submitAmountOrder Amountstring12YesAmount unit: BRL200
paymentTypeCollection Typestring20YesFixed value:PIX
currencyTypeCurrency Typestring40YesFixed value:BRL
notifyUrlCallback URLstring255NoCollection callback URL. Notification sent every minute upon success or failure. If response returns success, notifications will stop

Response Parameters

Field NameDescriptionTypeMax LengthRequiredRemarksExample
orderNoSystem Order Numberstring50YesPlatform-generated order number
urlPayment Linkstring200YesPayment link
qrCodeQR Code Stringstring200YesQR code content
orderStateOrder Statusint4Yes10-Processing 20-Success 30-Failed
serialNoUser Order Numberstring50YesUser-defined order number
messageFailure Reasonstring200NoReturned only when collection fails

Collection Inquiry

URL

POST /proxyCollectQuery/query

Request Parameters

Field NameDescriptionTypeMax LengthRequiredRemarksExample
userOrderNumberUser Order Numberstring50YesUsed to query collection order

Response Parameters

Field NameDescriptionTypeMax LengthRequiredRemarksExample
serialNoUser Order Numberstring50YesUser-defined order number
orderNoSystem Order Numberstring50YesPlatform order number
orderStateOrder Statusint4Yes10-Processing 20-Success 30-Failed
arrivalAmountActual Collected Amountstring12YesUnit:BRL200
amountSubmitted Amountstring12YesUnit:BRL200
transTimeOrder Completion TimeDate100YesOrder completion timestamp
messageFailure Reasonstring200NoReturned only when collection fails

Callback(Webhook)

Request Parameters

Field NameDescriptionTypeMax LengthRequiredRemarksExample
serialNoUser Order Numberstring50Yes
orderNoSystem Order Numberstring50Yes
amountOrder Amountstring12YesUnit: BRL200
arrivalAmountActual Collected Amountstring12YesUnit: BRL200
orderStateOrder Statusint4Yes10-Processing 20-Success 30-Failed
messageFailure Reasonstring200NoReturned only when collection fails

Callback Parameters

success

When invoking the collection or payout application APIs, if the callback URL field notifyUrl is provided, the platform will notify the callback URL once every minute when the collection or payout order is successful or failed. If the callback response returns success, the notification will stop. In special cases such as network fluctuations, duplicate notifications may occur. Please ensure idempotent handling is implemented.