Payment Links

Send one time payment links to your customers

Introduction

Payment links allow you to collect payment from your customers quickly without needing any website or apps.

Your customers get to choose from a variety of payment modes and complete payment accordingly. You can preset details such as amount, link expiry time, etc before sending it across to the customer via SMS or email and accept payments directly in your bank account.

📘

Haven't created your account yet?

Please follow our Getting started guide.

Create Payment Link Using Dashboard

Steps for creating a payment link from the Dashboard:

  • Log into your zaakpay dashboard.
  • Go to "Link Based Payment" section.
  • Fill details (amount, mobile/ email, etc) to generate or send payment links.

Generated payment link from Zaakpay payment gateway with few clicks.

Share it via email, SMS, Whatsapp, Facebook and more.

Get paid with any payment mode-Debit card, credit card, Net banking, UPI, Wallets.

Create Payment Link Using API

Description

This API should be integrated at server side only because it works with API-Key. Please ensure that API-Key is stored in secure and safe manner on server.

Test Server:

https://sandbox1.zaakpay.com/api/linkbasedpayment/v2/uploadDetails

Live Server:

https://zaakpay.com/api/linkbasedpayment/v2/uploadDetails

Request Headers

Parameters

Type

Optional/ Mandatory

Values

Description

X-API-KEY

String

M

5d5adbadf57246b1925a9afca08c05fa

This key will be used to authorize the API request , merchant can generate API KEY on the same panel on which secret key was generated.

Request Parameters

Parameters

Type

Optional/ Mandatory

Values

Description

orderID

String

M

Max- 30 characters

Generated order id

amount

String

M

Value in rupees. Min 1 rupee
Max 100000 rupees. Amount limit saved under
Transaction Limit in your
Zaak-pay panel.

linkExpireByDate

String

M

Must be greater than the present date.Currently array size of details must be less than 300

Response Parameters

Parameters

Values

Description

orderId

Your generated order id
Max- 30 characters

Order Id must be unique whenever request is raised

invoiceNumber

INV5

Free text (max 20 character )

amount

Value in rupees. Min 1 rupee
Max 100000 rupees. Amount limit saved under
Transaction Limit in your
Zaak-pay panel.

linkExpireBy

Greater than the current date

customerEmail

Special Characters: - _ @ .

Valid Email Id

customerMobile

All valid mobile numbers

10 Digits mobile number

productDescription

Lan

Text description of what you are selling At Least one product

Sample Request

curl -X POST \
  https://sandbox1.zaakpay.com/api/linkbasedpayment/v2/uploadDetails \
  -H 'Cache-Control: no-cache' \
  -H 'Postman-Token: f12655cc-9d34-46d1-a2da-b2fea17a51d3' \
  -H 'content-type: application/json' \
  -H 'x-api-key: 5d5adbadf57246b1925a9afca08c05fa' \
  -d '{
 "batchId": "batch1",
 "details": [
   {
     "orderId": "onido9d4hd4",
     "invoiceNumber": "INV5",
     "amount": 344,
     "internalNotes": "testing purpose",
     "linkExpireBy": "25/09/2021 14:39:31",
     "productDescription": "lan",
     "customerEmail": "[email protected]",
     "customerMobile": 9884554713
   },
   {
     "orderId": "onido9d4hssd4",
     "invoiceNumber": "INV5",
     "amount": 344,
     "internalNotes": "testing purpose",
     "linkExpireBy": "25/09/2021 14:39:31",
     "productDescription": "lan",
     "customerEmail": "[email protected]",
     "customerMobile": 9832547130
   }
  ]
}
'

Sample Response

{
    "success": true,
    "statusCode": "200",
    "errorMessage": null,
    "data": [
        {
            "amount": 344,
            "productDescription": "lan",
            "customerMobile": "9882547130",
            "customerEmail": "[email protected]",
            "invoiceNumber": "INV5",
            "internalNotes": "testing purpose",
            "linkExpireBy": "2021-09-25 14:46:29",
            "link": "https://zaakstaging.zaakpay.com/api/su/byjHtOuGG",
            "errorDescription": "NA",
            "orderId": "onido9d4hd4"
        },
        {
            "amount": 344,
            "productDescription": "lan",
            "customerMobile": "9882547130",
            "customerEmail": "[email protected]",
            "invoiceNumber": "INV5",
            "internalNotes": "testing purpose",
            "linkExpireBy": "2021-09-25 14:42:29",
            "link": "https://zaakstaging.zaakpay.com/api/su/byjIsRb5M",
            "errorDescription": "NA",
            "orderId": "onido9d4hssd4"
        }
    ]
}

Did this page help you?