Get Started

To accept payment method wise follow below steps. To perform payment type wise method perform payment intent steps first.

Capture Payment Integration API

Net banking payment capture

              
                curl --location --request POST 'https://BASE URL/api/payment/capture' \
                --header 'mid: 7xax0x7xcx5xdx2x2x4x' \
                --header 'password: dxbxbxex0x8xcxax3x4xfx6xc' \
                --header 'Content-Type: application/json' \
                --data-raw '{
                  "billing_details": {
                    "address": {
                      "country": "",
                      "city": "",
                      "state": "",
                      "postal_code": "",
                      "line2": "",
                      "line1": ""
                      },
                      "phone": "",
                      "name": "",
                      "email": ""
                      },
                      "coupon_code": "",
                      "authorization_id": "",
                      "save_method": false,
                      "payment_token": "62aafd7e6063740ac81cb04f",
                      "payment_method_details": {
                        "type": "NETBANKING",
                        "bank_code": "YESBANK"
                        }
                        }'
              
            

UPI payment capture

              
                curl --location --request POST 'https://BASE URL/api/payment/capture' \
                --header 'mid: 7xax0x7xcx5xdx2x2x4x' \
                --header 'password: dxbxbxex0x8xcxax3x4xfx6xc' \
                --header 'Content-Type: application/json' \
                --data-raw '{
                  "billing_details": {
                    "address": {
                      "country": "",
                      "city": "",
                      "state": "",
                      "postal_code": "",
                      "line2": "",
                      "line1": ""
                      },
                      "phone": "",
                      "name": "",
                      "email": ""
                      },
                      "coupon_code": "",
                      "authorization_id": "",
                      "save_method": false,
                      "payment_token": "62aafd7e6063740ac81cb04f",
                      "payment_method_details": {
                        "type": "UPI",
                        "upi": {
                          "vpa": "9XXXXXXXX@icici"  
                        }
                        }
                        }'
              
            

Wallet payment capture

              
                curl --location --request POST 'https://BASE URL/api/payment/capture' \
                --header 'mid: 7xax0x7xcx5xdx2x2x4x' \
                --header 'password: dxbxbxex0x8xcxax3x4xfx6xc' \
                --header 'Content-Type: application/json' \
                --data-raw '{
                  "billing_details": {
                    "address": {
                      "country": "",
                      "city": "",
                      "state": "",
                      "postal_code": "",
                      "line2": "",
                      "line1": ""
                      },
                      "phone": "",
                      "name": "",
                      "email": ""
                      },
                      "coupon_code": "",
                      "authorization_id": "",
                      "save_method": false,
                      "payment_token": "62aafd7e6063740ac81cb04f",
                      "payment_method_details": {
                        "type": "WL",
                        "provider":"PHONEPE"
                        }
                        }'
              
            

Header Authentication

Enter valid MID and Password

Parameter Details Is mandatory
mid Enter valid MID which is available in developer section. Yes
password Enter valid password which is available in developer section. Yes

Request Parameters

Enter all the mandatory parameters and valid api key

Parameter Details Is mandatory
billing_details Customer billing address details. No
coupon_code Coupon code if coupon engin is enabled on your MID. No
authorization_id Customer unique autherization id which you will get in this api when customer have given cunsent to store his payment methods. No
save_method Will save selected payment method id flag is set true No
payment_token Enter payment intent token Yes
payment_method_details Enter payment method details.
type ["NETBANKING","UPI","WL","CARD"]
Bank Codes and Wallet codes
Yes

Malis percipitur an pro. Pro aperiam persequeris at, at sonet sensibus mei, id mea postulant definiebas concludaturque. Id qui malis abhorreant, mazim melius quo et. At eam altera dolorum, case dicant lobortis ius te, ad vel affert oportere reprehendunt. Quo no verterem deseruisse, mea brute postea te, ne per tacimates suavitate vituperatoribus.


Capture Payment API Response

Redirect payment intent link on customer browser which is available in "ref_link" parameter of the payment intent response

              
                {
                  "status": true,
                  "data": "62aafd8586450b0ac5bfce98",
                  "message": "Proccesing Payment",
                  "status_code": 200,
                  "payment_link": "https://BASE URL/core/process/payment/62aafd8586450b0ac5bfce98",
                  "payment_s2s": "https://BASE URL/core/process/payment_s2s/62aafd8586450b0ac5bfce98"
                }