Order Physical Card

Place an order of physical card

πŸ“˜

Header Parameters

For Header Reference Click here

Request Parameters

Name

Type

Mandatory (M) , Optional (O)

Description

quantity

String

M

quantity -1 means personal card else non personal card.

recipient

Array

M

Recipient details

recipient.name

String

M

Name of recipient

recipient.mobile

String

M

mobile number of recipient

recipient.pincode

Number

M

6 digit number pincode of recipient

recipient.city

String

M

city of recipient

recipient.address

String

M

address of recipient

externalRef

String

M

unique reference number

latitude

String

M

latitude of current location

longitude

String

M

longitude of current location

Sample Request

curl --location --request POST 'https://api.instantpay.in/cards/prepaid/orderInventory' \
--header 'X-Ipay-Auth-Code: {{authCode}}' \
--header 'X-Ipay-Client-Id: {{clientId}}' \
--header 'X-Ipay-Client-Secret: {{clientSecret}}' \
--header 'X-Ipay-Endpoint-Ip: {{endPointIP}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "quantity": 1,
    "recipient": {
        "name": "**** ******",
        "mobile": "99******10",
        "pincode": "******",
        "city": "*****",
        "address": "***************"
    },
    "externalRef": "PPC#ORDER#1",
    "latitude": "-34.4453",
    "longitude": "97.7089"
}'
POST /cards/prepaid/orderInventory HTTP/1.1
Host: api.instantpay.in
X-Ipay-Auth-Code: {{authCode}}
X-Ipay-Client-Id: {{clientId}}
X-Ipay-Client-Secret: {{clientSecret}}
X-Ipay-Endpoint-Ip: {{endPointIP}}
Content-Type: application/json

{
    "quantity": 1,
    "recipient": {
        "name": "**** ******",
        "mobile": "99******10",
        "pincode": "******",
        "city": "*****",
        "address": "***************"
    },
    "externalRef": "PPC#ORDER#1",
    "latitude": "82.0467",
    "longitude": "17.6241"
}

πŸ“˜

Response Parameters

For Response Reference Click here

Sample Response

{
   "statuscode": "TXN",
   "actcode": null,
   "status": "Transaction Successful",
   "data": {
       "ipayId": "************BZSPV",
       "openingBalance": "**.**",
       "closingBalance": "**.**",
       "transactionValue": "**.**",
       "payableValue": "**.**"
   },
   "timestamp": "YYYY-MM-DD HH:II:SS",
   "ipay_uuid": "**********-****-****-****-**********",
   "orderid": "***********************",
   "environment": "LIVE"
}

πŸ“˜

Action Code Details

For Action Code details Click here

Language
Click Try It! to start a request and see the response here!