curl --location '{api_base_url}/payorder' \
--header 'x-client-id: <App ID>' \
--header 'x-client-secret: <Secret Key>' \
--header 'order-source: rest-api' \
--data-raw '{
"kwikX_order_id": "OD_b4ce853111a7e6fa2b089eb19",
"payment_method": {
"upi": {
"channel": "app"
}
}
}'
{
"code": "200",
"status": "success",
"message": "API authentication successful!",
"return_data": {
"kwikX_payment_id": "pay_d297923671a0319",
"created_at": "09-08-2023 03:07 PM",
"payment_status": "Created",
"payment_method": {
"upi": {
"upi_id": "",
"channel": "app",
"payLink": "",
"deepLink": "upi://pay?pa=sandbox@oonepe&pn=OonePeSandbox&tr=sdf5dfd5f755fdg&cu=INR&mc=7372&tn=payment2test&am=10"
}
}
}
}