# 2. Retrieve WebPay Status
# HTTP request info
# URL
{domain}/open-api/webpay/detail
# Request Method
POST
# Content-Type
application/json
# Request Body
| parameter name | required | type of data | description |
|---|---|---|---|
| timestamp | Yes | long | current timestamp |
| mchOrderId | Yes | string | merchant order ID, alphanumeric, max length 32 |
# Response parameters
| parameter name | type of data | description |
|---|---|---|
| payUrl | string | order payment link |
| transactionStatus | string | order payment status (PENDING / COMPLETED / FAILED) |
| transactionId | string | transaction ID |
| createTime | string | transaction create time |
| mchOrderId | string | merchant order ID, alphanumeric, max length 32 |
| amount | integer | amount, the unit is cent |
| string | customer email address | |
| mobile | string | customer mobile phone number |
| remark | string | remark |
| callbackUrl | string | merchant payment notification URL |
| redirectUrl | string | payment redirect URL |
| channelCode | string | channel code |
# Request example
# Param content
{
"timestamp": 1676017834369,
"mchOrderId": "EXAMPLE00000001"
}
# 请求体
{
"appId": "c9b002aef1d7496c9df078d937896605",
"sign": "uK5sk3kM5vhSP3BJPwArK7239TTP1fwIp2CyZLE4c0JdsfwJTpTyU5l2oCj2XJssqc4MUHY7zWyU+HRPzVa/LvXnjxdHvtpJ5o0VHUz8EMDT4r3SgQLsp9GYodYOUpGmu/F+DH3I6XUGRASiownoEDA6f4C2QAahGFK+Tg+m5cGSW1aLlEOw6b7doAz4U8/oZS33qbd+T3NLwkKwsigBA3Y56fKNrO7gxIoPZpdni0QJjPgJTDwzp5fouUnTu8GRhcnXhL4OzWBHboTlkSl26y0X8yPavKwbH7++oxPW5JzfebEj2aKpV++0b5YWHeC+iCM/diXIwK6XEPdCm2G6iw==",
"param": "{\"timestamp\":1676017834369,\"mchOrderId\":\"finexusM000100004\"}"
}
# Response example
{
"code": 10000,
"message": "Success",
"data": {
"mchOrderId": "EXAMPLE00000001",
"payUrl": "https://uat.pbebank.com/eaijct/Public_Bank/JunctionManager?RDO=ReqToPay/mypb/?EndtoEndId=20230921M0009746861OBW00000040&EndtoEndIdSignature=gageAs+uT9ewVkabOPGkMEK6NRkE+YYoYPs3sNNqkKeP2z+/Dy6HDaSnKl/5mOthsXHJzlwhrEbd1oq2NvJxEOj6RfaHCGEEvZ4mdz3gV9TqD+K1H3MuzFr06SgtwxwmmiDbzFoxLPVe8GW7o876P7aVqMxfI0UOV4GjzDCwmAXkLfYJwP+rKSTA9DsdbMfrSOtQxYyp8618zAMPiG7HC/iuUcN8wE0YJ5WtX66udZkmNobmswtDgJvYNzkeIbjAS8vKvjNgHRO4uBhT94kcFP4hx2mZBVZZ2gzLhF5+78d4Tgt8lXnIvhVv9knBG9LQhTTXXFmNdUEJ4imJ5oCYpQ==&DbtrAgt=PBBEMYKL",
"transactionStatus": "PENDING",
"transactionId": "C1704781627609190400",
"amount": 1100,
"email": "example@gmail.com",
"mobile": "09123456789",
"remark": null,
"callbackUrl": "https://example.com",
"redirectUrl": "https://example.com",
"channelCode": "RPP_PUBLIC_URL",
"createTime": "2023-09-21 16:56:35",
"returnTime": null
}
}