Get Started

To get started, you need to first go through the ‘Accept a Payment’ guide. It describes how to create a Payment Intent on the server and pass its client secret to the client instead of passing the entire Payment Intent object. As a next step, the client confirms the payment and your server monitors the webhooks to detect if the payment is successfully completed or failed. Please do contact our ales Executive to get your credentials. Please login into your dashboard to get the ‘Integration kit’ details. Payment Intent Integration API

Login your dashboard to get intgration kit details

Payment Intent Integration API

              
                curl --location --request POST 'https://BASE URL/api/payment/intents' \
                --header 'mid: 8xcx1xax6x0xdx3x2x0x' \
                --header 'password: cxbxfxdxdxcx1x6xax2x2x6x4' \
                --header 'Content-Type: application/json' \
                --data-raw '{
                "curr_code":"INR",
                "amount": 1000,
                "desc": "Transaction Details",
                "merchant_order_token": "ex8x4xaxfx4x2xdxcx8x6x8x",
                "customer_email": "kxxxr.sxxxh@gmail.com",
                "customer_mobile": "9x6x8x8x8x",
                "customer_first_name": "Kxxxr",
                "customer_last_name": "Sxxxh",
                "ord_title": "Title",
                "success_url": "https://your_success_url.com",
                "fail_url": "https://your_failure_url.com",
                "pg_cancel_url": "https://your_payment_cancel_url.com",
                "api_key": "6xax3xcx1x4xex2x1xbx1xbx"
                }'
              
            

Header Authentication

Enter valid MID and Password

Parameter Details Is mandatory
mid Enter valid MID available in the Developer’s section. Yes
password Enter valid password available in developer section. Yes

Request Parameters

Enter all the mandatory parameters and valid api key

Parameter Details Is mandatory
curr_code The code of the currency. One of currency code is required. Yes
amount Charge amount with 100 multiplier. e.g capture amount is 300.50 then enter amount as 30050. Yes
desc Enter description to identify your transaction. No
merchant_order_token Your unique order id to identify and reconcile transation details. Yes
customer_email Enter your customer valid email id. Yes
customer_mobile Enter your customer valid mobile number. Yes
customer_first_name Enter your customer first name. Yes
customer_last_name Enter your customer last name. Yes
ord_title Enter valid title which will display on your payment page. No
success_url Eneter valid https success url where payment page will redirect after transaction performed as captured. Yes
fail_url Eneter valid https fail url where payment page will redirect after transaction performed as failed. Yes
pg_cancel_url Eneter valid https cancel url where payment page will redirect id customer cancelled the transaction. Yes
api_key Enter valid terminal key (API Key). Yes
payment_method By default value is "automatic" if you want to capture payment manually then pass "manual" then you need to call capture API. No

Intent API Response

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

              
                {
                  "status": true,
                  "data": "6x7x1x6xfxaxcx6x4x8x8x5x",
                  "transaction_id": "ABC000000890991",
                  "message": "Order created",
                  "status_code": 200,
                  "ref_link": BASE URL"/core/capture/62701760fca0c16d408e8457"
                }
              
            

Congratulations!

You’re ready to accept payments