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": {
"card": {
"card_name": "John Deo",
"card_number": "6080 6080 6080 6080",
"card_exp": "12/25",
"card_cvv": "680"
}
}
}'
{
"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": {
"card": {
"channel": "redirect",
"payLink": "https://uat.api.kwikpaisa.com/payment/468ed7fe1315b9e66851a29ebbfe848c515942260a47f438d22c8b90cdbc0472"
}
}
}
}