curl --request POST \
--url https://api.paytring.com/api/v1/order/process \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>",
"order_id": "<string>",
"method": "upi",
"code": "collect",
"vpa": "example@upi",
"card": {
"number": "<string>",
"cvv": "<string>",
"expiry_month": "<string>",
"expiry_year": "<string>",
"holder_name": "<string>"
},
"hash": "<string>",
"device": "android"
}'"{\n \"status\": true,\n \"payment_id\": \"667589021207104214\",\n \"data\": {\n \"type\": \"intent\",\n \"token\": \"66c837ca1d1a3\",\n \"url\": \"dXBpOi8vcGF5P3BhPWV4YW1wbGVAbnBjaSZwbj1UZXN0JnRyPUUyNDA2MDQ3NVhVNjRUJm1jPTgyMjAmYW09MS4wMCZjdT1JTlImdG49UGF5Jm1hbT0xLjAwJnJlZlVybD1odHRwczovL3BheS5lYXNlYnV6ei5pbg==\",\n \"param\": []\n },\n \"request_id\": \"66c837c9baf4c\"\n}"This api can be used to process transaction without opening paytring checkout , also known as seamless api or custom checkout api
curl --request POST \
--url https://api.paytring.com/api/v1/order/process \
--header 'Content-Type: application/json' \
--data '{
"key": "<string>",
"order_id": "<string>",
"method": "upi",
"code": "collect",
"vpa": "example@upi",
"card": {
"number": "<string>",
"cvv": "<string>",
"expiry_month": "<string>",
"expiry_year": "<string>",
"holder_name": "<string>"
},
"hash": "<string>",
"device": "android"
}'"{\n \"status\": true,\n \"payment_id\": \"667589021207104214\",\n \"data\": {\n \"type\": \"intent\",\n \"token\": \"66c837ca1d1a3\",\n \"url\": \"dXBpOi8vcGF5P3BhPWV4YW1wbGVAbnBjaSZwbj1UZXN0JnRyPUUyNDA2MDQ3NVhVNjRUJm1jPTgyMjAmYW09MS4wMCZjdT1JTlImdG49UGF5Jm1hbT0xLjAwJnJlZlVybD1odHRwczovL3BheS5lYXNlYnV6ei5pbg==\",\n \"param\": []\n },\n \"request_id\": \"66c837c9baf4c\"\n}"{
"key": "string", // Merchant API key
"order_id": "string", // Order ID
"hash": "string" // Calculated hash for request validation
}
{
"status": true,
"message": "Order processed successfully",
"transaction_id": "string"
}
{
"status": false,
"error": {
"message": "Invalid request",
"code": 400
}
}
200
The response is of type object.