This API reference document contains a brief description of the available API’s with clearly defined input and output parameters on the right side under the title ‘Parameter description’. Request and response bodies are also provided along with each API with sample data for clear understanding.
Card API's
Following card based API’s are available with detailed description and relevant information.
Check 3DS Enrollment
This is a request to check a cardholder's enrollment in the 3DSecure scheme.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
It represents that the request has been made by the registered or a guest customer of a merchant.
"pp_CustomerID"
Registered Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Registered Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Regsitered Customer’s Mobile Number provided by Merchant.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_CustomerCardNumber"
Card number of the customer making the payment.
"pp_CustomerCardExpiry"
Expiry date of the card used for making payment.
Format: MMYY (Month Month Year Year).
"pp_CustomerCardCvv"
Card verification value, as printed on the back or front of the card.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
It represents that the request has been made by the registered or a guest customer of a merchant.
"pp_CustomerID"
Registered Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Registered Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Regsitered Customer’s Mobile Number provided by Merchant.
"result_CardEnrolled"
Card enrolment status of the customer.
"summaryStatus"
The summarized response from the card issuer and the payment gateway indicating the overall status of the attempt to authenticate the cardholder. Example CARD_ENROLLED
"c3dSecureID"
A unique identifier supplied by Jazz Cash to Master Card for authentication.This Id is also required in the subsequent calls.
"aR_Simple_Html"
An HTML form for the card enrolled transaction.This form needs to be rendered by the merchant so that customer can input 3DS PIN. Upon submission ,Base64 encoded string i.e PaRes, will be received that will have to be sent in Process ACS request.
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Check 3DS Enrollment via Token
This is a request to check a cardholder's enrollment in the 3DSecure scheme using Token against their already saved card.This request is specific for returning customer transaction.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
It represents that the request has been made by the registered or a guest customer of a merchant.
"pp_CustomerID"
Registered Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Registered Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Regsitered Customer’s Mobile Number provided by Merchant.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_TokenizedCardNumber"
It represents the token for returning customer against their already saved card.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
It represents that the request has been made by the registered or a guest customer of a merchant.
"pp_CustomerID"
Registered Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Registered Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Regsitered Customer’s Mobile Number provided by Merchant.
"result_CardEnrolled"
Card enrolment status of the customer.
"pp_TokenizedCardNumber"
It represents the token for returning customer against their already saved card.
"summaryStatus"
The summarized response from the card issuer and the payment gateway indicating the overall status of the attempt to authenticate the cardholder. Example CARD_ENROLLED
"c3dSecureID"
A unique identifier supplied by Jazz Cash to Master Card for authentication.This Id is also required in the subsequent calls.
"aR_Simple_Html"
An HTML form for the card enrolled transaction.This form needs to be rendered by the merchant so that customer can input 3DS PIN. Upon submission ,Base64 encoded string i.e PaRes, will be received that will have to be sent in Process ACS request.
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Process ACS
This request is made to interpret the authentication response returned from the card Issuer's Access Control Server (ACS) after the cardholder completes the authentication process. The response indicates the success or otherwise of the authentication.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
It represents that the request has been made by the registered or a guest customer of a merchant.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_3dSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"pp_TxnType"
Type of instrument used for making payment.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"paRes"
Base64 encoded string received from the card Issuer's ACS after the cardholder completes the authentication process.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"gateWayCode"
Approval code returned from Master Card after processing ACS.
"c3dSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Process ACS via Token
This request is made to interpret the authentication response returned from the card Issuer's Access Control Server (ACS) after the cardholder completes the authentication process using token. The response indicates the success or otherwise of the authentication.This request is specific for returning customer transaction.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
It represents that the request has been made by the registered or a guest customer of a merchant.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_3dSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"pp_TxnType"
Type of instrument used for making payment.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"paRes"
Base64 encoded string received from the card Issuer's ACS after the cardholder completes the authentication process.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"gateWayCode"
Approval code returned from Master Card after processing ACS.
"c3dSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Direct Pay
This is a single transaction to authorize payment and transfer funds from payer's account to merchant’s account.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
It represents that the request has been made by the registered or a guest customer of a merchant.
"pp_ShouldTokenizeCardNumber"
It represents the request for Create token against provided customer card details,inorder to avoid entering complete card information for future use.
"pp_CustomerID"
Registered Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Registered Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Regsitered Customer’s Mobile Number provided by Merchant.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_C3DSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_CustomerCardNumber"
Card number of the customer making the payment.
"pp_CustomerCardExpiry"
Expiry date of the card used for making payment.
Format: MMYY (Month Month Year Year).
"pp_CustomerCardCvv"
Card verification value, as printed on the back or front of the card.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Direct Pay via Token
This is a single transaction to authorize payment and transfer funds from payer's account to merchant’s account using Token against customer's already saved card.This request is specific for returning customer transaction.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
It represents that the request has been made by the registered or a guest customer of a merchant.
"pp_CustomerID"
Registered Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Registered Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Regsitered Customer’s Mobile Number provided by Merchant.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_C3DSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_TokenizedCardNumber"
It represents the token for returning customer against their already saved card.
"pp_CustomerCardCvv"
Card verification value, as printed on the back or front of the card.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Authorize
This is a request to obtain an authorization for a proposed funds transfer. An authorization is a response from a financial institution indicating that payment information is valid and funds are available in the payer's account.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_InstrumentType"
Type of instrument used for making payment.
"pp_Frequency"
Indicates the frequency of the transaction offered to the payer.
Value could be any one of the following, based on the usage:
SINGLE: Indicates a single transaction where a single payment is used to complete the order.
RECURRING: Indicates a recurring transaction where the payer authorizes you to automatically debit their accounts for bill or invoice payments.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_CustomerCardNumber"
Card number of the customer making the payment.
"pp_CustomerCardExpiry"
Expiry date of the card used for making payment.
Format: MMYY (Month Month Year Year).
"pp_CustomerCardCvv"
Card verification value, as printed on the back or front of the card.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_CustomerID"
Registered Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Registered Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Regsitered Customer’s Mobile Number provided by Merchant.
"pp_IsRegisteredCustomer"
Yes, if user is already registered. No, if customer is not.
"pp_ShouldTokenizeCardNumber"
It represents the request for Create token against provided customer card details,inorder to avoid entering complete card information for future use.
"pp_3dSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_InstrToken"
"pp_TokenizationResponseCode"
Response code representing whether token generated successfully or not. A response code of T01 represents success.
"pp_TokenizationResponseMessage"
Error details in case the token failed to be processed. This field will be mandatory for all cases where response code is not equal to T01.
"pp_CustomerCardNumber"
Card number of the customer making the payment.
"pp_CustomerCardExpiry"
Expiry date of the card used for making payment.
Format: MMYY (Month Month Year Year).
"pp_CustomerID"
Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Customer’s Mobile Number provided by Merchant.
"pp_ShouldTokenizeCardNumber"
It represents the request for Create token against provided customer card details,inorder to avoid entering complete card information for future use.
"pp_IsRegisteredCustomer"
Yes, if user is already registered. No, if customer is not.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_InstrumentType"
Type of instrument used for making payment.
"pp_Frequency"
Indicates the frequency of the transaction offered to the payer.
Value could be any one of the following, based on the usage:
SINGLE: Indicates a single transaction where a single payment is used to complete the order.
RECURRING: Indicates a recurring transaction where the payer authorizes you to automatically debit their accounts for bill or invoice payments.
"pp_3dSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"pp_SecureHash"
Used to allow the Merchant to check the integrity of the transaction response.
"pp_ResponseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"pp_ResponseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Authorize Via Token
This is a request to obtain an authorization for a proposed funds transfer. An authorization is a response from a financial institution indicating that payment information is valid and funds are available in the payer's account.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_InstrumentType"
Type of instrument used for making payment.
"pp_Frequency"
Indicates the frequency of the transaction offered to the payer.
Value could be any one of the following, based on the usage:
SINGLE: Indicates a single transaction where a single payment is used to complete the order.
RECURRING: Indicates a recurring transaction where the payer authorizes you to automatically debit their accounts for bill or invoice payments.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_CustomerCardNumber"
Card number of the customer making the payment.
"pp_CustomerCardExpiry"
Expiry date of the card used for making payment.
Format: MMYY (Month Month Year Year).
"pp_CustomerCardCvv"
Card verification value, as printed on the back or front of the card.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_Frequency"
Indicates the frequency of the transaction offered to the payer.
Value could be any one of the following, based on the usage:
SINGLE: Indicates a single transaction where a single payment is used to complete the order.
RECURRING: Indicates a recurring transaction where the payer authorizes you to automatically debit their accounts for bill or invoice payments.
expand_moreOutput Parameters
Parameter
Description
"pp_IsRegisteredCustomer"
Yes, if user is already registered. No, if customer is not.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_InstrumentType"
Type of instrument used for making payment.
"pp_Frequency"
Indicates the frequency of the transaction offered to the payer.
Value could be any one of the following, based on the usage:
SINGLE: Indicates a single transaction where a single payment is used to complete the order.
RECURRING: Indicates a recurring transaction where the payer authorizes you to automatically debit their accounts for bill or invoice payments.
"pp_3dSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"pp_InstrToken"
"pp_CustomerID"
Customer’s LoginID or Identifier address provided by Merchant.
"pp_CustomerEmail"
Customer’s Email address provided by Merchant.
"pp_CustomerMobile"
Customer’s Mobile Number provided by Merchant.
"pp_TokenizedCardNumber"
It represents the token for returning customer against their already saved card.
"pp_SecureHash"
Used to allow the merchant to check the integrity of the transaction response.
"pp_ResponseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"pp_ResponseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Capture
This is a request to capture funds previously reserved by an authorization. A Capture transaction triggers the movement of funds from the payer's account to the merchant's account.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_3dSecureID"
A unique identifier supplied by Jazz Cash to Merchant in Check 3DS Enrollment response.
"pp_SecureHash"
Used to allow the Merchant to check the integrity of the transaction response.
"pp_ResponseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"pp_ResponseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Retrieve
This is a request to retrieve the details of an order and all transactions associated with this order.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_Version"
Payment Portal Version. Fixed value ‘1.1’ should be used.
expand_moreOutput Parameters
Parameter
Description
"status"
Status of the transaction at JazzCash payment gateway.
"rrn"
A unique number generated by the Payment Gateway at the time of transaction processing. The number should be stored and used for future reference.
The number is unique for any given date.
"settlementDate"
A date supplied by the Payment Gateway to indicate when this transaction will be settled.
When the Payment Gateway closes the batch at the end of the day, the date will roll over to the next processing day’s date.
This date will only be provided in case a transaction is already confirmed by the merchant.
"settlementExpiryDate"
A date supplied by the Payment Gateway indicating that if the merchant does not send a confirmation of the transaction by this time, the payment gateway will mark the transaction as expired and the merchant will not be able to resume it.
This field will be mandatory where Auth Code is available.
"authCode"
An identifying code issued by the issuing bank to approve or deny the transaction.
The field is mandatory in case of successful response code. Refer to Appendix I for a list of response codes and the codes which when sent will require Auth Code.
"bankID"
This field will only be used in case of Direct Debit transaction type, otherwise it should be sent as an empty field.
Customer’s bank that authorized the transaction.
"productID"
This field will only be used in case of Direct Debit transaction type.
Product ID of bank through which payment has been performed. e.g. Retail, Corporate.
Fixed values: ‘RETL’, ‘CORP’.
In case value was provided at the time of request, this field will contain the same value. Otherwise, ID of the product chosen by customer at Payment Gateway will be filled.
Mobile Account API's
Following API’s are available with detailed description and relevant information for Mobile Account.
REST based Mobile Account API - Version 1.1 - Default
This is REST based API used for the transaction of Mobile Account as a payment instrument.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_Version"
Payment Portal Version. Fixed value ‘1.1’ should be used.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Language"
Specifies the language in which to display the page. Fixed value ‘EN’.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_SubMerchantID"
Unique Id assigned to each sub merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_Amount"
The transaction amount. Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_MobileNumber"
MobileNumber for MWallet Account.
"pp_CNIC"
Last 6 digits of CNIC number for MWallet Account.
"pp_DiscountedAmount"
Discounted Amount (Final amount after discount).
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
SOAP based Mobile Account API - Version 1.1 - Default
This is SOAP based API used for the transaction of Mobile Account as a payment instrument.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_CustomerCardNumber"
Card number of the customer making the payment.
"pp_CustomerCardExpiry"
Expiry date of the card used for making payment.
Format: MMYY (Month Month Year Year).
"pp_CustomerCardCvv"
Card verification value, as printed on the back or front of the card.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_Version"
Payment Portal Version. Fixed value ‘1.1’ should be used.
"pp_Frequency"
Indicates the frequency of the transaction offered to the payer.
Value could be any one of the following, based on the usage:
SINGLE: Indicates a single transaction where a single payment is used to complete the order.
RECURRING: Indicates a recurring transaction where the payer authorizes you to automatically debit their accounts for bill or invoice payments.
expand_moreOutput Parameters
Parameter
Description
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
REST based Mobile Account API - Version 2.0 - CNIC Enablement
This is REST based API used for the transaction of Mobile Account as a payment instrument.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_Version"
Payment Portal Version. Fixed value ‘1.1’ should be used.
"pp_CNIC"
This field will contain Customer’s last 6 digits of CNIC (used only in version 2.0)
expand_moreOutput Parameters
Parameter
Description
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
REST based Mobile Account API - Version 3.0 - Hosted MPIN
This is REST based API used for the transaction of Mobile Account as a payment instrument.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_UsageMode"
Specifies the usage mode of API calling.
"pp_DiscountedAmount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_Amount"
This field will contain final amount after discount (used only in version 2.0)
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_SubMerchantID"
If the merchant is handling any child merchants at its end, then the child merchant Id will be provided. The Transaction reports will be grouped on the basis of Sub Merchant Id, if available.
"pp_MobileNumber"
This field will contain Customer’s Mobile Number (used only in version 2.0)
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_Version"
Payment Portal Version. Fixed value ‘1.1’ should be used.
"pp_CNIC"
This field will contain Customer’s last 6 digits of CNIC (used only in version 2.0)
"pp_MPIN"
This field will contain Customer’s 4 digit MPIN
expand_moreOutput Parameters
Parameter
Description
"pp_ResponseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"pp_ResponseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_SubMerchantID"
If the merchant is handling any child merchants at its end, then the child merchant Id will be provided. The Transaction reports will be grouped on the basis of Sub Merchant Id, if available.
"pp_Amount"
This field will contain final amount after discount (used only in version 2.0)
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_RetrievalReferenceNo"
A unique number generated by the Payment Gateway when the transaction got processed. The number should be stored and used for future reference.
The number is unique for any given date.
"pp_AuthCode"
An identifying code issued by the issuing bank to approve or deny the transaction. The field is mandatory in case of successful response code. Refer to Appendix I for a list of response
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_MobileNumber"
This field will contain Customer’s Mobile Number (used only in version 2.0)
"pp_DiscountedAmount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
Voucher API's
Following API’s are available with detailed description and relevant information for Voucher Payment.
REST based Voucher Payment API
This is REST based API used for the transaction of Voucher as payment instrument.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_Version"
Payment Portal Version. Fixed value ‘1.1’ should be used.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Language"
Specifies the language in which to display the page. Fixed value ‘EN’.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_SubMerchantID"
Unique Id assigned to each sub merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_Amount"
The transaction amount. Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_ReturnURL"
The URL where merchant wants the transaction results to be shown. Once the transaction has been processed, response details will be sent over to the merchant on this URL using an HTTP POST Request.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
SOAP based Voucher API
This is soap based API used for the transaction of Voucher as payment instrument.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_TxnType"
Type of instrument used for making payment.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_TxnDateTime"
Merchant provided date and time of transaction. The format of date time should be yyyyMMddHHmmss.
"pp_TxnExpiryDateTime"
Transaction Expiry can be specified by merchant to indicate to the issuing bank that the transaction must be approved within this period. Please note that the default and maximum value of this expiry is 3 months.
"pp_BillReference"
Bill/invoice Number being settled.
"pp_Description"
Transaction details to be shown on screen as desired by the merchant. This field will be parsed to identify any malicious data entered by the end user. In cases when any of these characters <>\*=%/:'|"{} are inserted, they will be replaced with a space.
"pp_CustomerCardNumber"
Card number of the customer making the payment.
"pp_CustomerCardExpiry"
Expiry date of the card used for making payment.
Format: MMYY (Month Month Year Year).
"pp_CustomerCardCvv"
Card verification value, as printed on the back or front of the card.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_Version"
Payment Portal Version. Fixed value ‘1.1’ should be used.
"pp_Frequency"
Indicates the frequency of the transaction offered to the payer.
Value could be any one of the following, based on the usage:
SINGLE: Indicates a single transaction where a single payment is used to complete the order.
RECURRING: Indicates a recurring transaction where the payer authorizes you to automatically debit their accounts for bill or invoice payments.
expand_moreOutput Parameters
Parameter
Description
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
REST based Expire Voucher API
This API is used to expire the given voucher on merchant’s consent
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Voucher"
A unique value created by the merchant to identify the voucher.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"pp_responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
"pp_Voucher"
A unique value created by the merchant to identify the voucher.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
Retrieve Token
This is a request to retrieve the card details based on given token, which was previously provided to the user while user was asked to save their card details during performing the card transaction.
Retrieve Token Request JSON:
Retrieve Token Response JSON:
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_Language"
Language Code used by .
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_InstrumentType"
Type of instrument used for making payment.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_TokenizedCardNumber"
A number provided by payment gateway to reuse card details which was saved against this number.
"pp_IsRegisteredCustomer"
Yes, if user is already registered. No, if customer is not.
expand_moreOutput Parameters
Parameter
Description
"pp_Brand"
Type/Brand of user’s card.
"pp_Expiry"
Expiry date of the card used for making payment. Format: MMYY (Month Month Year Year).
"pp_FundingMethod"
Method through which card funds will be transferred.
"pp_Issuer"
Issuer of user’s card.
"pp_LocalBrand"
Type/Brand of user’s card.
"pp_cardNumber"
Card number of the customer.
"pp_tokenStatus"
Status of token, which was given by user in request.
"pp_Language"
Language code.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_InstrumentType"
Type of instrument used for making payment.
"pp_TokenizedCardNumber"
card number on the basis of which token was provided to user.
"pp_CorrelationId"
Unique Identifier.
"pp_IsRegisteredCustomer"
Whether the customer was previously registered or not.
"pp_ResponseCode"
Response code representing the operation success or failure. A response code of T00 represents success.
"pp_ResponseMessage"
Error details in case the operation failed to be processed. This field will be mandatory for all cases where response code is not equal to T00.
Delete Token
This is a request to delete the card details based on given token which was previously provided to the user while user was asked to save their card details during performing the card transaction.
Delete Token Request JSON:
Delete Token Response JSON:
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_Language"
Language Code
"pp_CorrelationId"
Unique Identifier.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_InstrumentType"
Type of instrument used for making payment.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_TokenizedCardNumber"
card number on the basis of which token was provided to user
"pp_IsRegisteredCustomer"
Whether the customer was previously registered or not
expand_moreOutput Parameters
Parameter
Description
"pp_Language"
Language Code.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_InstrumentType"
Type of instrument used for making payment.
"pp_TokenizedCardNumber"
Card number on the basis of which token was provided to user.
"pp_CorrelationId"
Unique Identifier.
"pp_IsRegisteredCustomer"
Whether the customer was previously registered or not.
"pp_ResponseCode"
Response code representing the operation success or failure. A response code of T00 represents success.
"pp_ResponseMessage"
Error details in case the operation failed to be processed. This field will be mandatory for all cases where response code is not equal to T00.
Inquire Token
This is a request to fetch the token based on the given transaction reference number. The fetched token is the one which was previously provided to the user while user was asked to save their card details during performing the card transaction of the provided Transaction reference number.
Inquire Token Request JSON:
Inquire Token Response JSON:
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_Language"
Language Code
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_Token"
A number provided by payment gateway to reuse card details which was saved against this number.
"pp_ResponseCode"
Response code representing the operation success or failure. A response code of T00 represents success.
"pp_ResponseMessage"
Error details in case the operation failed to be processed. This field will be mandatory for all cases where response code is not equal to T00.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
Refund API's
Following refund based API’s are available with detailed description and relevant information.
Rest Based Mobile Account Refund API
This is a request for refund transaction of mobile account.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_MerchantMPIN"
4 digit numeric MPIN of JazzCash mobile Accounty.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Rest Based Card Refund API
This is a request for refund transaction of direct pay.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_TxnRefNo"
A unique value created by the merchant to identify the transaction.
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.
Rest Based Voucher Refund API
This is a request for refund transaction of Voucher.
Request Body
Response Body
Parameter Description
expand_moreInput Parameters
Parameter
Description
"pp_VoucherID"
A unique value created by the merchant to identify the voucher.
"pp_CNIC"
This field will contain Customer’s last 6 digits of CNIC (used only in version 2.0)
"pp_Amount"
The transaction amount.
Please note that no decimal places are included. Decimal place will be assumed at the default position of the currency provided.
"pp_TxnCurrency"
Currency of transaction amount. It has a fixed value ‘PKR’.
"pp_MerchantID"
Unique Id assigned to each merchant by the payment gateway.
"pp_Password"
Assigned to each merchant, used for authentication of the merchant at the time of payment. Password is a system generated value.
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
expand_moreOutput Parameters
Parameter
Description
"pp_SecureHash"
Used to allow the Payment Gateway to check the integrity of the transaction request.
"pp_responseCode"
Response code representing the transaction success or failure. A response code of 000 represents success.
"pp_responseMessage"
Error details in case the transaction failed to be processed.
This field will be mandatory for all cases where response code is not equal to 000.