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": {
"paylater": {
"code": "lazypay"
}
}
}'
{
"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": {
"app": {
"code": "lazypay",
"payLink": "https://uat.api.kwikpaisa.com/payment/468ed7fe1315b9e66851a29ebbfe848c515942260a47f438d22c8b90cdbc0472"
}
}
}
}