1. Create Payment
Request URL
{domain}/open-api/philippines/static/payment/generate
Request Method
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 |
customerName | Y | string | 1-128 | - | payer name |
channelCode | Y | string | - | Reference List | Platform ChannelCode |
notifyUrl | Y | string | 1-256 | - | notify url |
email | Y | string | 1-128 | - | payer email |
mobile | Y | string | 11-14 | - | payer mobile (format: start with 09) |
remark | N | string | 1-256 | - | payment remark |
Request Example
Request Body
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 |
channelType | string | channel type("URL","VA","QR") |
Response Example
Code Collection
Failed Response Example