Skip to main content

Create Deposit Order (巴基斯坦)

CreatePKR (PKR)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 (Refer to Remarks)
payment_cl_idYesString(32)MerchantOrder號
amountYesInteger(10)Amount (分)
notify_urlYesString(256)Transaction ResultNotificationURL
nameNoString(16)Remitter Name (實名制渠道Required)
last_numberNoString(6)Remitter Account
identity_noNoString(32)身分證
phone_numberYesString(32)手機號碼
request_timeYesInteger(10)Request Time (Seconds)
signYesString(32)OrderSignature

Request Example

{
"amount": "50000",
"last_number": "123456",
"name": "test_name",
"notify_url": "https://xxx.xx/notification",
"payment_cl_id": "DEVPM00014581",
"platform_id": "PF0002",
"request_time": "1595504136",
"service_id": "SVC0071",
"identity_no": "42101-1234567-8",
"phone_number": "03123456789",
"sign": "c81634c1769044eac9e9628a2292f557"
}

Response Example

Success Response

{
"error_code": "0000",
"data": {
"link": "收银台连结或Yes支付讯息"
}
}

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 )
linkStringOrder收銀台連結或支付訊息
amountIntSubmissionAmount
display_amountInt浮動後須支付Amount

Remarks

  • Merchant ID is Systemunique identifier assigned by, if not obtained, please contact Systempersonnel
  • Service ID please enter:
  • SVC0070 (EASYPAISA)
  • SVC0071 (JAZZCASH)
  • Transaction Amountunit is PKR (分)
  • 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