Skip to content
Docs简体中文Website ↗
Docs/Brazil/Brazil · Create collection
API REFERENCE

Brazil · Create collection

Endpoint, parameters and examples for Brazil: Create collection.

Endpoint#

POSThttps://YOUR_GATEWAY_HOST/Pay_Index.html

application/x-www-form-urlencoded

Parameters#

FieldRequirementSignedDescription
pay_memberidRequiredYesMerchant number shown in the panel, not the internal user ID.
pay_orderidRequiredYesOriginal merchant collection order ID. Query this ID, not the platform ID returned on creation.
pay_amountRequiredYesBRL amount string with two decimal places. Limits and fees depend on merchant and product.
pay_applydateRequiredYesRequest time, preferably yyyy-MM-dd HH:mm:ss in Brazil time. Do not assume a common signature validity window.
pay_bankcodeRequiredYesAssigned payment product code enabled for this merchant.
pay_notifyurlWhen applicableWhen nonemptyMerchant notification URL; supply it to receive payment results.
pay_callbackurlWhen applicableWhen nonemptyMerchant browser return URL; may be omitted if no browser return is needed.
pay_md5signRequiredNo32-character uppercase MD5 signature; exclude this field from signing.
typeRecommendedNoUse json for API order creation. JSON output depends on the assigned product; confirm its actual response format.
pay_attachOptionalNoAdditional data, returned as attach and excluded from collection signatures. Use type to request JSON output.
pay_productnameOptionalNoProduct name; usage depends on the assigned product.
FieldDescription
statusAPI processing result, not the final financial outcome.
msgAPI message.
pay_amountBRL amount; responses may use JSON numbers or strings without a fixed decimal format. Preserve the received value for verification.
pay_orderidPlatform order or transaction ID.
payUrlCheckout URL, not proof of completed payment.
qrCodeProduct-specific QR content: PIX text, Base64 or other data. Image URLs or uniform copy-and-paste PIX content are not guaranteed; confirm during integration.

Examples#

cURL · replace placeholders before use
curl --request POST 'https://YOUR_GATEWAY_HOST/Pay_Index.html' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'pay_memberid=10000' \
  --data-urlencode 'pay_orderid=DEMO_PAYIN_001' \
  --data-urlencode 'pay_amount=100.00' \
  --data-urlencode 'pay_applydate=2026-10-24 12:00:00' \
  --data-urlencode 'pay_bankcode=YOUR_PRODUCT_CODE' \
  --data-urlencode 'pay_notifyurl=https://example.com/payin/notify' \
  --data-urlencode 'pay_callbackurl=https://example.com/payin/return' \
  --data-urlencode 'type=json' \
  --data-urlencode 'pay_md5sign=CALCULATE_WITH_YOUR_APIKEY'
Request fields · submit as form
{
  "pay_memberid": "10000",
  "pay_orderid": "DEMO_PAYIN_001",
  "pay_amount": "100.00",
  "pay_applydate": "2026-10-24 12:00:00",
  "pay_bankcode": "YOUR_PRODUCT_CODE",
  "pay_notifyurl": "https://example.com/payin/notify",
  "pay_callbackurl": "https://example.com/payin/return",
  "type": "json",
  "pay_md5sign": "CALCULATE_WITH_YOUR_APIKEY"
}
Response example
{
  "status": "1",
  "msg": "下单成功",
  "pay_amount": 100.0,
  "pay_orderid": "DEMO_PLATFORM_PAYIN",
  "payUrl": "https://example.com/cashier/DEMO",
  "qrCode": "PRODUCT_SPECIFIC_QR_CONTENT"
}
Response example
{
  "status": "error",
  "msg": "签名验证失败",
  "data": []
}

Signing & result handling#

Compute the signature over the operation-specific field set, not every example field.

Open signing guide
© 2026 88Pay API field names and response values remain unchanged across languages.
Searches this documentation only · No data is sent to the server