Skip to content

Order Status Query

If a downstream merchant encounters network jitter, timeout, or other abnormalities when calling the transfer interface (deposit/withdrawal), they can pass in the unique transaction serial number (transfer_id) to actively query the final success/failure status of the transaction.

API Information

PropertyValue
PathPOST /papi/v1/order/status
AuthenticationAgent Token (Bearer)
Content-Typeapplication/x-www-form-urlencoded

Request Headers

HeaderValueRequired
AuthorizationBearer {agent_token}✅ Yes

Request Parameters

ParameterTypeRequiredDescription
transfer_idstringYesThe merchant's unique custom transaction serial number

Request Example

bash
curl -X POST https://api.example.com/papi/v1/order/status \
  -H "Authorization: Bearer {agent_token}" \
  -d "transfer_id=TXN202606152311001"

Response Fields

Data Fields

FieldTypeDescription
transfer_idstringUnique serial number passed in the merchant request
hub_member_idstringUnique player ID on the gateway platform (Format: MerchantPrefix_PlayerID)
currencystringTransaction currency
amountdecimalTransaction amount
transfer_typestringTransaction type:
deposit
withdraw
balance_beforedecimalPlayer's account balance before the transaction
balance_afterdecimalPlayer's account balance after the transaction
statusstringTransaction status:
success
failed
pending
remarkstringRemark
created_atstringOrder creation time (ISO 8601 format)

Successful Response (HTTP 200)

json
{
  "code": 0,
  "data": {
    "transfer_id": "TXN202606152311001",
    "hub_member_id": "TESTAGENT_PLAYER_USER_001",
    "currency": "CNY",
    "amount": 500.00,
    "transfer_type": "deposit",
    "balance_before": 1000.00,
    "balance_after": 1500.00,
    "status": "success",
    "remark": "",
    "created_at": "2026-06-15T23:11:00+08:00"
  },
  "msg": "ok"
}

Error Response

Order Not Found (HTTP 200)

json
{
  "code": 7,
  "data": {},
  "msg": "order not found"
}

VCT Gaming Integration Platform