This API Help to get Process Payment: Multi Cart Model

Request Parameters:

AttributeTypeDetails
merchant_id*integermerchant_id is the unique identifier of the merchant.
card_number*stringCard number
card_expiry
_year*
stringThe year of card expiry. For example: "2025"
card_expiry
_month*
stringThe year of card expiry. For example: "02"
card_holder
_name*
stringName on the card.
cvv*stringCVV
is_card_to
_be_saved
Boolsaved card details ofr future use.
country_code*integerThe country code of the mobile number.
mobile_number*stringMobile number of the customer.
email_id*stringEmail id of the cusotmer.
customer_token*stringvaild Token to be set for the customer.
scheme_id*stringScheme id is the offer identifier availability of which on the card is to be checked.
program_type*stringprogram_type.
is_scheme_valid*booleanvaild check on the schema.
product_code*stringProduct code is the unique identifier of the product.
product_name*stringProduct name
product_amount*longProduct amount in paise.
subvention_
cashback_discount
stringSubvention discount cashback amount in paise. Only applicable when subvention is present.
product_discountstringProduct discount amount in paise. Only applicable if product discount is present.
subvention_cashback
_discount_percentage
longSubvention discount cashback percentage. Its value is percentage multiplied by 10000.
product_discount
_percentage
longProduct discount cashback percentage. Its value is percentage multiplied by 10000.
subvention_type*intType of subvention applied on the scheme. "1" for No cost EMI, "2" for Low cost EMI and "3" for Standard EMI
bankinterest
rate_percentage
longBank interest amount in paise.
bank_interest_ratestringBank interest rate in percentage multiplied by 10000.
emi_schemestringvalid emi scheme.
tenure_id*stringvalid tenure id.
tenure_in_month*stringvalid tenure in month.
monthly_installment*stringvaild monthly installment.
bank_interest_rate*stringvaild bank interest rate.
interest_pay_to_bank*stringvalid interest pay to bank.
totalofferred
discount_cashback
_amount*
stringvaild cash back amount.
loan_amount*stringvaild loan amount.
auth_amount*stringvaild auth amount.
acquirerIdstringvaild acquire id.

Request Body payload:

{
    "merchant_data": {
        "merchant_id": 11607
    },
    "card_data": {
        "card_number": "4012001037141112",
        "card_expiry_year": "2023",
        "card_expiry_month": "11",
        "card_holder_name": "Harsh",
        "cvv": "123",
        "is_card_to_be_saved": true
    },
    "customer_data": {
        "country_code": "91",
        "mobile_number": "9582492891",
        "email_id": "[email protected]",
        "customer_token": "AGxVyLz65ucoJrx+w1u1xQ=="
    },
    "emi_data": {
        "offer_scheme": {
            "product_details": [
                {
                    "schemes": [
                        {
                            "scheme_id": "48916",
                            "program_type": 112,
                            "is_scheme_valid": true
                        }
                    ],
                    "product_code": "2000",
                    "product_name": "2000",
                    "product_amount": 1000000,
                    "subvention_cashback_discount": 20000,
                    "product_discount": 0,
                    "subvention_cashback_discount_percentage": 20000,
                    "product_discount_percentage": 0,
                    "subvention_type": 2,
                    "bank_interest_rate_percentage": 60000,
                    "bank_interest_rate": 24661
                },
                {
                    "schemes": [
                        {
                            "scheme_id": "48916",
                            "program_type": 112,
                            "is_scheme_valid": true
                        }
                    ],
                    "product_code": "2001",
                    "product_name": "2001",
                    "product_amount": 1000000,
                    "subvention_cashback_discount": 20000,
                    "product_discount": 0,
                    "subvention_cashback_discount_percentage": 20000,
                    "product_discount_percentage": 0,
                    "subvention_type": 2,
                    "bank_interest_rate_percentage": 60000,
                    "bank_interest_rate": 24661
                }
            ],
            "emi_scheme": {
                "scheme_id": "46918",
                "program_type": 105,
                "is_scheme_valid": true
            }
        },
        "tenure_id": "9",
        "tenure_in_month": "9",
        "monthly_installment": 223258,
        "bank_interest_rate": 60000,
        "interest_pay_to_bank": 49322,
        "total_offerred_discount_cashback_amount": 40000,
        "loan_amount": 1960000,
        "auth_amount": 1960000
    },
    "acquirer_data": {
        "acquirerId": 8004
    }
}

Response Payload:

{
    "content": "<!DOCTYPE html><html><head><title> Redirecting ... </title></head><body><script>var url = 'https://test.pinepg.in/pinepg/v2/process/payment?token=QNd7t3Tb5GdZG11%2bg%2fJdy%2b%2f1FIwnko2haekL5yb%2fvio%3d';window.location = url;</script></body></html>",
    "payment_id": 438470,
    "order_id": 78612345,
    "amount_in_paise": 2000000,
    "token": "ZCgfoCQy4z3Stfb6fJeC69iBcTFINGqvhlKf3hEduhU=",
    "api_url": null,
    "response_code": 14010,
    "response_message": "SUCCESS"
}
{
  "response_code": 14845,
  "response_message": "Request Data is not valid"
}

{
  "response_code": 14826,
  "response_message": "Offer is not applicable on card"
}

{
  "response_code": 14819,
  "response_message": "Offer is outdated"
}
{
  "error_code": "14020",
  "error_message": "Oops, something went wrong!"
}
Language
Credentials
Basic
base64
:
Click Try It! to start a request and see the response here!