Create Onsite Payin Transaction
Create a new UPI payin transaction. This transaction will generate an on-site payment URL, meaning the payment page will be hosted on our servers. The user will complete the payment, and we will subsequently send a callback to your server. This callback can be used to verify whether the user has successfully completed the payment.
Create a new UPI payin transaction. This transaction will generate an on-site payment URL, meaning the payment page will be hosted on our servers. The user will complete the payment, and we will subsequently send a callback to your server. This callback can be used to verify whether the user has successfully completed the payment.
Authorization
BearerAuth 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/onsite/payin" \ -H "Content-Type: application/json" \ -d '{ "money": { "amount": 0 }, "merchant_order_no": "string", "user_details": {} }'{
"success": true,
"payment_id": "string",
"payment_url": "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
}
}