Skip to main content
POST
/
idr
/
collect
/
query
IDR Collection Query
curl --request POST \
  --url https://uat-interface.haipay.asia/idr/collect/query \
  --header 'Content-Type: application/json' \
  --data '
{
  "appId": 123,
  "orderId": "<string>",
  "sign": "<string>",
  "orderNo": "<string>"
}
'
{
  "status": "<string>",
  "error": "<string>",
  "msg": "<string>",
  "data": {
    "orderId": "<string>",
    "orderNo": "<string>",
    "amount": "<string>",
    "actualAmount": "<string>",
    "fee": "<string>",
    "status": 123,
    "payTime": "<string>",
    "errorMsg": "<string>",
    "sign": "<string>"
  }
}

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

Business ID (retrieved from the backend; must pass the corresponding ID for the currency in the URL)

orderId
string
required

Merchant order ID

sign
string
required

Signature

orderNo
string

Platform order ID (faster response)

Response

200 - application/json
status
string

1: Normal, 0: Exception

error
string

Error code

msg
string

Error description

data
object
Last modified on April 10, 2026