1 Checkout Order
Brief Description
- Merchant - Checkout Order API
Request URL
Request Method
parameter name | Is it mandatory | type of data | description |
Content-Type | mandatory | string | application/json |
Request Body Parameters
parameter name | Is it mandatory | type of data | length | example | description |
appId | mandatory | string | - | - | Application App ID |
appName | mandatory | string | - | - | Application Name |
param | mandatory | string | - | - | Request Body |
sign | mandatory | string | - | 45eebd745dcf0b5f6d6f9fcde28cd9fe8116a892 | Sign |
Params
parameter name | Is it mandatory | type of data | length | example | description |
mchOrderId | mandatory | string | 10-32 | CCP20220428011068111 | Merchant Order ID, format: alphanumeric, 1-32 characters |
currency | mandatory | string | 10 | | Default: "PHP" |
amount | mandatory | long | - | 50000 | Unit is in cents. Example: 50 pesos should be passed as 5000. |
customer | mandatory | object(customer) | - | - | User Information |
items | mandatory | Array[item] | - | - | Product Information |
callbackUrl | mandatory | string | 1-256 | - | Payment Callback URL |
redirectUrl | mandatory | string | 1-512 | - | Payment Redirect URL |
metadata | optional | string | 1-2000 | - | Additional Data |
remark | optional | string | 1-256 | - | Remark |
availableChannelCodes | optional | string | - | - | Available Channels: All channels by default |
expireTime | optional | string | - | | Expiration Time: "YYYY-mm-dd H:i:s" format |
timestamp | mandatory | long | - | 1678356680000 | Millisecond Timestamp |
Customer Params
parameter name | Is it mandatory | type of data | length | example | description |
firstName | mandatory | string | 1-500 | jack | Format: Alphanumeric, 1-500 characters, support special characters #(),.'":;@&ñÑ+ |
lastName | optional | string | 1-500 | | Format: Alphanumeric, 1-500 characters, support special characters #(),.'":;@&ñÑ+ |
email | mandatory | string | 1-128 | abc@gmail.com | Payer's Email |
mobile | mandatory | string | 11-14 | 092737734772 | Payer's Phone Number |
address | optional | object | - | - | User Address |
Item Params
parameter name | Is it mandatory | type of data | length | example | description |
name | mandatory | string | 1-500 | CCP20220428011068111 | Product Name, format: Alphanumeric, 1-500 characters, support special characters #(),.'":;@&ñÑ+ |
amount | mandatory | long | - | 50000 | Product Unit Price (Unit: cents). Example: 50 pesos should be passed as 5000. |
quantity | mandatory | int | - | 10 | Product Quantity |
description | optional | String | 1-1000 | - | Product Description |
url | optional | string | 1-500 | - | Product URL Address |
Request Example
Response Example
description: The redirectUrl field corresponds to a link that is valid for 1 hour. After this time, the link will expire and become invalid.
Failed Case Response Code Reference List Reference List