# 4.PaymentCode Cancel

# Request URL

  • {domain}/open-api/philippines/static/code/cancel

# Request Method

  • POST

# Request Header

Parameter Name Required Type Description
Content-Type Y string application/json

# Request Body Param

Parameter Name Required Type Description
appId Y string Application Id
param Y string param
sign Y string signature

# param参数

Parameter Name Required Type Length Example Description
timestamp Y long - 1677495496979 current timestamp
mchOrderId Y string 1-32 CCP20220428011068111 Merchant order id (unique for transactionId) 1-32 characters
channelCode Y string - Reference List Platform ChannelCode

# Request Example

# Request Body

{
   "appId": "733b887a4a784708bb369524db5b6ded",
   "sign": "A5Vd8NcQvU3QT41Yee2jCIK58jDAKZ6kP5gEE4q7Yu92hUCY3k00FKTSlCNU+CcZm0LSrGbEMFMID3p7uvXaqy5khNv3kPndrgp7MIRHUmQnMgRK+g1XG7PzWdnrqlXc3g+L+kqVja+qrFRz+uVS6GLKLR1P4AtgTa9dok6NU7YTWOnG9r/FwIVx/At4czfEpI10pvg2TptVpiANmseGmz4G30hkaYTTNahkcOMQJn6PDFjivHvjNLZNJVOqHQzVUa+kca1yZZMPHtgxR647KjoY2oAjjl0Y45GL6zP9qHD/eVwcPPAPrRZ4K2o05OJnPf67fAcWNVqpnu6ZGQIXhQ==",
   "param": "{\"mchOrderId\":\"Platform0000001\",\"channelCode\":\"PH_QRPH_STATIC\",\"timestamp\":\"1677482490058\"}"
}

How to construct request body


# Response Param

Parameter Name Type Description
code integer response code
message string response message
data Object data

# data

Parameter Name Type Description
mchOrderId string merchant order id
payData string payment data( QR Content)
channelCode string Platform channel Code
createTime string create time
status string status
expiresTime string expires time

# Response Example

{
  "code": 10000,
  "message": "Success",
  "data": {
    "mchOrderId": "Platform0000001",
    "payData": "281666040099hr4l48MSF31LJU2tl4Xv48AR",
    "channelCode": "PH_QRPH_STATIC",
    "createTime": "2023-09-07 11:53:52",
    "status": "CANCEL",
    "expiresTime": "2023-09-07 11:55:11"
  }
}

Code Collection

# Failed Response Example

{
    "code":21016,
    "message":"Merchant ip forbidden"
}