API Reference
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": "<pass kwikX_order_id from Order API (Web API)>", "payment_method": { "upi": { "upi_id": "sandbox@oonepe", /// pass the customer upi id to collect "channel": "collect" } } }'
{ "code": "200", "status": "success", "message": "API authentication successful!", "return_data": { "kwikX_payment_id": "pay_fd42469ffc0b103", "created_at": "09-08-2023 03:07 PM", "payment_status": "Created", "payment_method": { "upi": { "upi_id": "oonepe@sandbox", "channel": "collect", "payLink": "", "payqr": "", "deepLink":"" } } } }