Link List

Header Parameters

NameTypeDescriptionMandatory(M),Optional(O)Provided by INSTANTPAY(Y/N)
X-Ipay-Auth-CodeStringAuth Code -1 (Fixed)MY
X-Ipay-Client-IdStringUnique Client IdMY
X-Ipay-Client-SecretStringUnique Client SecretMY
X-Ipay-Endpoint-IpStringEnd Customer IP AddressMY

Request Parameters

NameTypeRequirementDescription
filtersArrayOptionalFilters to retrieve all the Links
filters.statusStringOptionalRetrieve all the Payout Links created through status. Status can be ISSUED, CLAIMED, CANCELLED, PROCESSING or EXPIRED
filters.contactStringOptionalRetrieve all the Payout Links created through contact. Contact can be Name, Mobile Number or Email
filters.linkIdStringOptionalRetrieve all the Payout Links created through the link id.
paginationArrayOptionalNumber of Payout link requested to retrieve
pagination.pageNumberStringOptionalPage number of the payout links
pagination.recordsPerPageStringOptionalRecords available in the page.

Sample Request

curl --location --request GET 'https://api.instantpay.in/payments/payout/link/list' \
--header 'X-Ipay-Auth-Code: 1' \
--header 'X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=' \
--header 'X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825' \
--header 'X-Ipay-Endpoint-Ip: 125.0.0.1' \
--header 'Content-Type: application/json' \
--data '{
    "filters" : {
        "status" : ["ISSUED"],
        "contact" : "Contact Name /Contact Mobile / Contact Email",
        "linkId" : "657aa9841b8d3897ff0a84fb"

    },
    "pagination" : {
        "pageNumber"  : "1",
        "recordsPerPage" : "10"
    }
}'
GET /payments/payout/link/list HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: 1
X-Ipay-Client-Id: YWY3OTAzYzNlM2ExZTJlOfh549Gzt+5IEcETrD5Yx+Q=
X-Ipay-Client-Secret: 679db35f926b8d0240a8c0d28729528ee8e6d5effa5fa0b20c04454004d2d825
X-Ipay-Endpoint-Ip: 125.0.0.1
Content-Type: application/json
Content-Length: 262

{
    "filters" : {
        "status" : ["ISSUED"],
        "contact" : "Contact Name /Contact Mobile / Contact Email",
        "linkId" : "657aa9841b8d3897ff0a84fb"

    },
    "pagination" : {
        "pageNumber"  : "1",
        "recordsPerPage" : "10"
    }
}

Response Parameters

Parameter NameTypeDescription
statuscodeStringInstantPay StatusCode
actcodeStringAction Code
statusStringStatus message
dataStringResponse Data(if Present)
timestampStringResponse time(YYYY-MM-DD HH:||:SS)
ipay_uuidStringRequest reference number
orderidStringTransaction Id(if transaction otherwise it is null)
environmentStringLive/Sandbox
internalCodeStringit will be null

Sample Response

{
    "statuscode": "TXN",
    "actcode": null,
    "status": "Transaction Successful",
    "data": {
        "meta": {
            "totalPages": 6,
            "currentPage": 1,
            "totalRecords": 12,
            "recordsOnCurrentPage": 2,
            "recordFrom": 1,
            "recordTo": 2
        },
        "records": [
            {
                "amount": 120.11,
                "purpose": "refund",
                "description": "Giving captch payment",
                "status": "ISSUED",
                "linkId": "657aa9841b8d3897ff0a84fb",
                "contactDetails": {
                    "name": "Sample Name",
                    "email": "[email protected]",
                    "mobile": "7428585742"
                },
                "referenceNo": "NA",
                "orderId": "1231214070644TLWAP",
                "url": "https://instant.pe/LS25FH",
                "qrUrl": "https://api.instantpay.in/payment/payout/link/qr/LS25FH",
                "paymentModes": [
                    "ACCOUNT"
                ],
                "verifyBene": true,
                "activatedAt": "2023-11-20 14:02:00",
                "expiredAt": "2024-03-13 12:36:44"
            },
            {
                "amount": 120.11,
                "purpose": "refund",
                "description": "Giving captch payment",
                "status": "PROCESSING",
                "linkId": "657a9ac51b8d3897ff0a84f9",
                "contactDetails": {
                    "name": "Sample Name",
                    "email": "[email protected]",
                    "mobile": "7428585742"
                },
                "referenceNo": "NA",
                "orderId": "1231214060349YVGXT",
                "url": "https://instant.pe/CH24wF",
                "qrUrl": "https://api.instantpay.in/payment/payout/link/qr/CH24wF",
                "paymentModes": [
                    "ACCOUNT"
                ],
                "verifyBene": true,
                "activatedAt": "2023-11-20 14:02:00",
                "expiredAt": "2024-03-13 11:33:49"
            }
        ]
    },
    "timestamp": "2023-12-14 16:43:59",
    "ipay_uuid": "h0009ad8a356-b745-4ee2-88bb-0c4abb750ed7-bQQqUjuG4ASN",
    "orderid": null,
    "environment": "PRODUCTION",
    "internalCode": null
}
Language
Click Try It! to start a request and see the response here!