post https://uat-partner.payu.in/api/v3/merchants/kyc_document/aadhaar_xml_offline
This API is used to submit the Aadhaar details in an XML file. The access token is required on the header. For more information on getting the access token, refer to Get Token API.
Environment
Test Environment | https://uat-partner.payu.in/ |
Production Environment | https://partner.payu.in/ |
Sample request
curl --location -g --request POST '{{onboarding_url}}/api/v3/merchants/kyc_document/ckyc_data' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"dob": "01-01-1990",
"merchant_id": "{{merchant_id}}"
}'
Sample request
{
"name": "Sardar Khan",
"gender": "M",
"dob": "1996-02-14",
"address": " rz-276,ph-2, gopal nagar, NAJAFGARH, South West Delhi, Delhi, India, 110043",
"pincode": 110043
}