JazzCash (In/Out)

Transfer via phone number (9 digits).

CountryPakistan
CurrencyPKR (Pakistani rupee)
Method typejazzcash
DirectionPayIn/PayOut
Integration typeWidget/H2H
Transfer typeTransfer via phone number (9 digits).
Account number format9-digits phone number
Limits****

PayIn request

Integration type:
Widget/H2H HTTP Method: POST
Endpoint: /deals/payin

{
  "amount": 200,
  "currency": "PKR",
  "invoiceId": "invoiceId",
  "type": "jazzcash", 
  "successUrl": "Google",
  "failUrl": "Google",
  "backUrl": "Google",
  "lang": "UR"
}

Request parameters

ParameterTypeRequiredDescription
amountintegerYesPayment amount
currencystringYesCurrency (ISO 4217)
invoiceIdstringYesUnique invoice identifier on the merchant side
clientIdstringYesUnique client identifier on the merchant side
typestringYesMethod type.
successUrlstringNoWidget URL for redirect on successful payment
failUrlstringNoWidget URL for redirect on failed payment
backUrlstringNoWidget URL for return without completing payment
langstringNoWidget localization

H2H Response example

{
    "account_number": "990159",
    "account_owner": "ASAD ENTERPRISES",
    "account_iban": "",
    "account_phone": "",
    "currency": {
        "_id": "d20beceb-44f7-42a5-8e24-f39abde60bcf",
        "type": "FIAT",
        "code": "PKR",
        "symbol": "RS",
        "label": "پاکستانی روپیہ",
        "decimal": 2,
        "countryName": "Pakistan",
        "countryCode": "PK"
    },
    "bank": {
        "_id": "33c2cee5-75a1-4cb7-9ab0-6b0888cc83b8",
        "name": "Любой банк PKR",
        "alias": "anybank",
        "logo": {
            "short": "https://1.gravatar.com/avatar/bdfe3e619e7589d8c567e07b485f640aadd457801f67ed50d4196b3a84c33ed0?size=64",
            "full": "https://1.gravatar.com/avatar/bdfe3e619e7589d8c567e07b485f640aadd457801f67ed50d4196b3a84c33ed0?size=256"
        },
        "type": "bank",
        "automationAvailable": true,
        "enabled": true,
        "isTopBank": false,
        "tagColor": "#009900",
        "currency": "PKR",
        "currencyId": "d20beceb-44f7-42a5-8e24-f39abde60bcf",
        "country": "PK",
        "isAnyBank": true,
        "supportedPaymentSystems": []
    },
    "type": "custom",
    "account_subtype": "jazzcash",
    "amounts": {
        "crypto": 1.850792,
        "fiat": 201,
        "fiat_net": 186.93
    }
}

PayOut request

Integration type: Widget/H2H
HTTP Method: POST
Endpoint: /deals/payin

{
    "amount": 7,
    "currencyTo": "PKR",
    "clientId": "clientId",
    "recipient": {
        "account_owner": "account_owner",
        "account_number": "123456789012",
        "type":"phone"
    },
    "type": "jazzcash"
}

Request parameters

ParameterTypeRequiredDescription
amountintegerYesPayment amount
currencystringYesCurrency (ISO 4217)
clientIdstringYesUnique client identifier on the merchant side
recipientobjectYesRecipient information
account_numberstringYesMobile number linked to recipient's account
account_ownerstringYesRecipient's full name (account holder)
typestringYesRecipient account type
typestringYesMethod type

Did this page help you?