# 2. Check Payment Status

# Request URL

  • {domain}/open-api/philippines/payment/query

# Request Method

  • POST

# Request Body

Parameter Name Required Type Description
appId Y string application ID
param Y string param (Json String)
sign Y string sign

# param

parameter name Required Type Length Example Description
mchOrderId Y string 1-32 - mch order id
timestamp Y long - 1677495496979 time stamp

# Request Body Example

{
    "appId": "733b887a4a784708bb369524db5b6ded",
    "sign": "Platform",
    "param": "{\"mchOrderId\":\"Platform0001\",\"timestamp\":\"1677133173758\"}"
}

How to construct request body


# Response Example

# Response Param

{
  "code": 10000,
  "message": "Success",
  "data": {
    "mchOrderId": "Platform0000001_30",
    "transactionId": "C1030677482494880155",
    "amount": 2000000,
    "transactionStatus": "PENDING",
    "createTime": "2023-02-27 15:21:35",
    "customerName": "user01",
    "channelCode": "PH_GCASH_URL",
    "email": "Platform@gmail.com"
  }
}

Code Collection

# Failed Response Example

{
    "code": 21010,
    "message": "transaction not found",
    "data": null
}