Skip to main content
POST
/
pkr
/
collect
/
apply
PKR Collection Application
curl --request POST \
  --url https://uat-interface.haipay.asia/pkr/collect/apply \
  --header 'Content-Type: application/json' \
  --data '
{
  "appId": 123,
  "orderId": "<string>",
  "name": "<string>",
  "phone": "<string>",
  "email": "jsmith@example.com",
  "amount": "<string>",
  "payType": "<string>",
  "inBankCode": "<string>",
  "callBackUrl": "<string>",
  "callBackFailUrl": "<string>",
  "partnerUserId": "<string>",
  "sign": "<string>",
  "notifyUrl": "<string>",
  "subject": "<string>",
  "body": "<string>",
  "idCard": "<string>"
}
'
{
  "status": "1",
  "error": "00000000",
  "msg": "",
  "data": {}
}

Secret Key & Private Key (Generate Signature)

Body

application/json
appId
integer
required

Business ID (obtained from the backend, must pass the corresponding business ID according to the currency in URL)

orderId
string
required

Merchant Order Number

Maximum string length: 48
name
string
required

Recipient's Name

phone
string
required

Real Mobile Number

email
string<email>
required

Real Email

amount
string
required

Transaction Amount (accurate to two decimals; no punctuation allowed, e.g., “,” is forbidden)

payType
string
required

Transaction Type

inBankCode
string
required
callBackUrl
string<uri>
required

Redirect URL after successful payment

callBackFailUrl
string<uri>
required

Redirect URL after failed payment

partnerUserId
string
required

Unique user identifier (e.g., userId), used for risk control system, must be valid, otherwise it will affect the transaction. Format: digits, letters, or symbols -~!@#$%&*()_.

Pattern: ^[A-Za-z0-9\-~!@#$%&*()_]+$
sign
string
required

Signature

notifyUrl
string<uri>

Callback URL

subject
string

Payment Note (transaction title, product name, reason for payment)

body
string

Note Details

idCard
string

ID card number, required for JAZZCASH

Response

200 - application/json
status
string
default:1

1: Normal, 0: Exception

error
string
default:00000000

Error code

msg
string
default:""

Error description

data
object
Last modified on April 10, 2026