Skip to main content

Create Deposit Order (菲律賓)

Create菲律賓披索 (PHP)DepositOrder接口.

Request Information

  • **Request URL: ** /gateway/api/v1/payments
  • **Request Method: ** POST
  • **Content-Type: ** application/json;charset=utf-8

Request Parameters

ParameterRequiredTypeDescription
platform_idYesString(7)Merchant ID
service_idYesString(7)Service ID
payment_cl_idYesString(32)MerchantOrder號
amountYesInteger(10)Amount (分)
notify_urlYesString(256)Transaction ResultNotificationURL
request_timeYesInteger(10)Request Time (Seconds)
signYesString(32)OrderSignature

Request Example

{
"amount": "50000",
"notify_url": "https://xxx.xx/notification",
"payment_cl_id": "DEVPM00014581",
"platform_id": "PF0002",
"request_time": "1595504136",
"service_id": "SVC0021",
"sign": "c81634c1769044eac9e9628a2292f557"
}

Response Example

Success Response

{
"error_code": "0000",
"data": {
"link": "http://xxx.xxx.xx/gateway/portal/v1/payments/GqhJK1nePB%2FayV7EO9S1EQ%3D%3D"
}
}

Error Response Example

{
"error_code": "0004",
"error_msg": "Signature Verification Failed!"
}

Response Parameter Description

ParameterTypeDescription
error_codeStringError Codes
error_msgStringError Message (error_code is not "0000" returned when )
linkStringOrderPayment URL
amountIntSubmissionAmount

Remarks

  • Merchant ID is Systemunique identifier assigned by, if not obtained, please contact Systempersonnel
  • Service ID please enter:
  • SVC0020 GCASH PAY (菲律賓Channel)
  • SVC0021 MAYA PAY (菲律賓Channel)
  • SVC0066 GOTYME QR (菲律賓Channel)
  • Refer to service_id List
  • Transaction Amountunit is 菲律賓披索 (分), please multiply by 100 pass in, e.g. Deposit 10000.00 please pass Value 1000000
  • Request Timeuses Unix timestamp, unit is Seconds
  • Transaction Result將Notification至 notify_url, 請pass in 可公開訪問之完整URL (僅supports http 與 https protocol), see parameter specs in Transaction ResultNotification