Payzio API Docs

Create Offsite Payin Transaction

Create a new offsite UPI payin transaction. Returns QR code data and deep links for client usage.

POST
/payments/offsite/payin

Create a new offsite UPI payin transaction. Returns QR code data and deep links for client usage.

Authorization

BearerAuth
AuthorizationBearer <token>

Merchant API key in the form Bearer sk_<token>.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://loading/payments/offsite/payin" \  -H "Content-Type: application/json" \  -d '{    "money": {      "amount": 0    },    "merchant_order_no": "string"  }'
{
  "success": true,
  "payment_id": "string",
  "data": {
    "qrCode": "string",
    "cashier_url": "string",
    "cashier_string": "string",
    "deep_links": {
      "property1": "string",
      "property2": "string"
    }
  },
  "amount": 0,
  "currency": "string",
  "message": "string"
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
{
  "status": false,
  "error": {
    "code": 0,
    "error_code": null,
    "message": "string",
    "metadata": null
  }
}