📘 API Documentation

Base URL: https://api.allpipo.com

🔐 Authentication

All requests must include the following headers:

X-API-KEY: {{apiKey}}
X-API-SECRET: {{apiSecret}}
      

📄 Check Payment Status

GET /payin/status

Query Params:
  • orderId - Order Id (required)
Response:
{
    "status": true,
    "statusCode": "TXN",
    "message": "Transaction Status Found",
    "data": {
        "mobileNumber": "string",
        "email": "string",
        "amount": "10.00",
        "statusDesc": "SUCCESS",
        "charge": 0.3,
        "gst": 0.05,
        "rollingSum": 0,
        "totalCreditAmount": 9.65,
        "mode": "UPI",
        "orderId": "45756767765",
        "utrNumber": "307549742675",
        "remark": "Payment",
        "udf1": "udf1",
        "udf2": "udf2",
        "udf3": "udf3",
        "udf4": "udf4",
        "udf5": "udf5",
        "field1": "",
        "field2": "",
        "field3": "",
        "field4": "",
        "field5": "",
        "createdTime": "2025-07-24T18:32:40.000Z",
        "updatedTime": "2025-07-24T18:33:47.000Z"
    }
}
        

➕ Create New Payment

POST /payin/create

Request Body:
{
    "mobileNumber": "9999999999",
    "email": "example@gmail.com",
    "amount": 100,
    "remark": "Payment",
    "orderId": "34534545345",
    "paymentType": "intent",
    "udf1": "",
    "udf2": "",
    "udf3": "",
    "udf4": "",
    "udf5": ""
}
        
Response:
{
    "status": true,
    "data": {
        "paymentLink": "upi://pay?pa=getepay.usfbqrap256925@utkarshbank&pn=KRUPAPOSNET&tr=54534543&am=100&tn=Payment"
    },
    "message": "Payment Link Created"
}
        

➕ Payment Callback Example

POST https://yourendpoint.com

Request Body:
{
  "status": true,
  "statusCode": "TXN",
  "name": "payment.updated",
  "message": "Transaction Updated",
  "data": {
    "mobileNumber": "string",
    "email": "string",
    "amount": "300.00",
    "statusDesc": "SUCCESS",
    "charge": 0.72,
    "gst": 0.13,
    "rollingSum": 0,
    "totalCreditAmount": 299.15,
    "mode": "UPI",
    "orderId": "string",
    "utrNumber": "string",
    "remark": "string",
    "udf1": "orderId",
    "udf2": "",
    "udf3": "",
    "udf4": "",
    "udf5": "",
    "field1": "",
    "field2": "",
    "field3": "",
    "field4": "",
    "field5": "",
    "createdTime": "2025-08-06T11:22:14.000Z",
    "updatedTime": "2025-08-06T11:22:32.000Z"
  }
}