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

Brazil · Query collection

Endpoint, parameters and examples for Brazil: Query collection.

Endpoint#

POSThttps://YOUR_GATEWAY_HOST/Pay_Trade_query.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_md5signRequiredNo32-character uppercase MD5 signature; exclude this field from signing.
FieldDescription
memberidMerchant number shown in the panel, not the internal user ID.
orderidOriginal merchant order ID.
amountBRL amount; responses may use JSON numbers or strings without a fixed decimal format. Preserve the received value for verification.
true_amountRecorded actual paid amount; older or unavailable data may be empty or zero.
time_endSuccessful payment completion time, yyyy-MM-dd HH:mm:ss; not a completion time for unpaid orders.
transaction_idPlatform order or transaction ID.
returncodeFixed "00" in normal queries; payment status depends on trade_state.
trade_stateNOTPAY: unpaid; SUCCESS: payment completed.
sign32-character uppercase MD5 signature; exclude this field from signing.

Examples#

cURL · replace placeholders before use
curl --request POST 'https://YOUR_GATEWAY_HOST/Pay_Trade_query.html' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'pay_memberid=10000' \
  --data-urlencode 'pay_orderid=DEMO_PAYIN_001' \
  --data-urlencode 'pay_md5sign=CALCULATE_WITH_YOUR_APIKEY'
Request fields · submit as form
{
  "pay_memberid": "10000",
  "pay_orderid": "DEMO_PAYIN_001",
  "pay_md5sign": "CALCULATE_WITH_YOUR_APIKEY"
}
Response example
{
  "memberid": "10000",
  "orderid": "DEMO_PAYIN_001",
  "amount": "100.00",
  "true_amount": "100.00",
  "time_end": "2026-10-24 12:00:00",
  "transaction_id": "DEMO_PLATFORM_PAYIN",
  "returncode": "00",
  "trade_state": "SUCCESS",
  "sign": "CALCULATE_WITH_YOUR_APIKEY"
}
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