Skip to main content

Create Withdrawal Order (Pakistan)

API for creating Pakistani Rupee (PKR) withdrawal orders.

Request Information​

  • Request URL: /gateway/api/v2/payouts
  • Method: POST
  • Content-Type: application/json;charset=utf-8

Request Parameters​

ParameterRequiredTypeDescription
platform_idYesString(6)Merchant ID
service_idYesString(7)Service ID
payout_cl_idYesString(64)Merchant Order ID
amountYesInteger(10)Amount (in cents)
notify_urlNoString(256)Callback URL for transaction results
bank_nameYesString(16)Bank code, Bank List
nameYesString(16)Beneficiary name
numberYesString(34)Beneficiary account number. For wallet withdrawals, the mobile number; for bank card withdrawals, the bank account number or IBAN (24 characters), letters and digits only, no spaces or -
currencyYesString(3)Fixed value: pkr
identity_noNoString(15)Beneficiary national ID (CNIC), 13 digits, - allowed, e.g. 35202-1234567-1. Required by some channels, see Remarks
phone_numberNoString(11)Beneficiary mobile number, 11 digits starting with 03, e.g. 03001234567. Required by some channels for bank card withdrawals, see Remarks; for wallet withdrawals number is used as the mobile number
request_timeYesInteger(10)Request time (seconds)
sign_typeNoString(16)Signature type, fixed value HMAC-SHA256
signYesString(32|64)Order Signature

Service ID​

  • SVC0004 Bank Card Withdrawal
  • SVC0074 JAZZCASH Withdrawal
  • SVC0075 EASYPAISA Withdrawal

Response Example​

{
"error_code": "0000",
"data": { "payout_id": "POT00000001" }
}

Remarks​

Important

In case of timeout or HTTP 500 errors, please use the order query API to check the status. Do not treat the order as failed directly.

  • Transaction amount is in Pakistani Rupee (cents)
  • A response of "0000" only indicates the API call was successful. Please use the query API to confirm the result
  • Bank card withdrawal (SVC0004): set bank_name to a bank code from the Bank List and number to the beneficiary's bank account number or IBAN
  • Some channels require beneficiary identity information: identity_no is required for withdrawals, and some channels additionally require phone_number for bank card withdrawals. If missing, invalid, or the bank is not supported, the API still returns "0000", but the order will fail and the balance will be refunded (within about 15 minutes). Please rely on the query API or callback notification