post https://api-staging.pluralonline.com/api/v1/emi/process/payment
This API Help to get Process Payment: Single Cart Model
Request Parameters:
Attribute | Type | Details |
---|---|---|
card_number* | string | Card number |
card_expiry _year* | string | The year of card expiry. For example: "2025" |
card_expiry _month* | string | The year of card expiry. For example: "02" |
card_holder _name* | string | Name on the card. |
cvv* | string | CVV |
is_card_to _be_saved | Bool | saved card details ofr future use. |
country_code* | integer | The country code of the mobile number. |
mobile_number* | string | Mobile number of the customer. |
email_id* | string | Email id of the cusotmer. |
customer_token* | string | vaild Token to be set for the customer. |
scheme_id* | string | Scheme id is the offer identifier availability of which on the card is to be checked. |
program_type* | string | program_type. |
is_scheme_valid* | boolean | vaild check on the schema. |
product_code* | string | Product code is the unique identifier of the product. |
product_name* | string | Product name |
product_amount* | long | Product amount in paise. |
subvention_ cashback_discount | string | Subvention discount cashback amount in paise. Only applicable when subvention is present. |
product_discount | string | Product discount amount in paise. Only applicable if product discount is present. |
subvention_cashback _discount_percentage | long | Subvention discount cashback percentage. Its value is percentage multiplied by 10000. |
product_discount _percentage | long | Product discount cashback percentage. Its value is percentage multiplied by 10000. |
subvention_type* | int | Type of subvention applied on the scheme. "1" for No cost EMI, "2" for Low cost EMI and "3" for Standard EMI |
bank_interest _rate_percentage | long | Bank interest amount in paise. |
bank_interest_rate | string | Bank interest rate in percentage multiplied by 10000. |
emi_scheme | string | valid emi scheme. |
tenure_id* | string | valid tenure id. |
tenure_in_month* | string | valid tenure in month. |
monthly_installment* | string | vaild monthly installment. |
bank_interest_rate* | string | vaild bank interest rate. |
interest_pay_to_bank* | string | valid interest pay to bank. |
totalofferred discount_cashback _amount* | string | vaild cash back amount. |
loan_amount* | string | vaild loan amount. |
auth_amount* | string | vaild auth amount. |
acquirerId | string | vaild acquire id. |
Request Body payload:
{
"merchant_data": {
"merchant_id": 11607
},
"payment_data": {
"amount_in_paisa": 2000000
},
"card_data": {
"saved_card_token": "chYeVuIZ6NSHoAR4W8C+0A=="
},
"customer_data": {
"customer_token": "AGxVyLz65ucoJrx+w1u1xQ=="
},
"emi_data": {
"offer_scheme": {
"product_details": [
{
"schemes": [
{
"scheme_id": "46921",
"program_type": 106,
"is_scheme_valid": true
}
],
"product_code": "2000",
"product_name": "2000",
"product_amount": 2000000,
"subvention_cashback_discount": 40000,
"product_discount": 0,
"subvention_cashback_discount_percentage": 20000,
"product_discount_percentage": 0,
"subvention_type": 2,
"bank_interest_rate_percentage": 50000,
"bank_interest_rate": 53468
}
],
"emi_scheme": null
},
"tenure_id": "12",
"tenure_in_month": "12",
"monthly_installment": 167789,
"bank_interest_rate": 50000,
"interest_pay_to_bank": 53468,
"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"
}
#for Debit EMI Response
{
"content": "https://test.pinepg.in/api/v2/validate/otp?token=zoWKNhaVFps0wKD%2fCV%2btCfCqDndxEB1sy7eiF4f%2bH84%3d",
"payment_id": 438471,
"order_id":78612345,
"amount_in_paise": 2000000,
"token": "fsQNbaN6TfAu5wUbGD2ErbHi5BBJDphbu+U5PGgQ4OM=",
"api_url": "http://pluralqa.pinepg.in/api/v1/emi/validate/otp?token=fsQNbaN6TfAu5wUbGD2ErbHi5BBJDphbu%2bU5PGgQ4OM%3d",
"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!"
}