delete https://uat-partner.payu.in/v3/merchants//kyc_document/
This API is used to delete the document for a merchant.
Note:
The access token with the scope as refer_merchant is required on the header. For more information on getting the access token, refer to o Get Token API.
Environment
Test Environment | https://uat-partner.payu.in/api/v3/merchants |
Production Environment | https://partner.payu.in/api/v3/merchants |
Notes:
This API involves the mid and kyc_document_uuid values as path parameters. Refer to the following for these parameter values:
- mid value in the response of the Create Merchant API for the merchant must be used as the path parameter.
- kyc_document_uuid value is in the response for the Create KYC DocumentAPI must be used as the path parameter.
Sample request
curl --location -g --request DELETE '{{partner_base_url}}/api/v3/merchants/{{mid}}/kyc_document/{{kyc_document_uuid}}' \
--header 'Authorization: Bearer {{access_token}}' \
--header 'Content-Type: application/x-www-form-urlencoded'