Stamps
Send or replace the payer's PAN card link
Changed onFor a stamp created through this API, until a vendor has started on it. Use it after panCard.status becomes FAILED or REJECTED, or to add a PAN to a stamp ordered without one. Processing is asynchronous: this answers 202 with PROCESSING, and the result arrives in panCard on the stamp and in the stamp.pan_card_updated webhook. A new link replaces any earlier one, including one still being processed or under review. In sandbox the file is downloaded and its type checked, but it is not stored or read: a good file ends VERIFIED, and a bad link fails exactly as it would live.
post/stamps/{id}/pan-card
Request
- Base URLhttps://esahayak.io/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
Request body
Example request
{
"panCardImage": "https://cdn.example.com/kyc/pan-4417.jpg"
}Response
Accepted for processing.
Example response
{
"panCard": {
"status": "FAILED",
"code": "PAN_LINK_REFUSED",
"message": "The host refused the download: the link may have expired or may need a login. Send a new public link."
}
}Changes
- info
endpoint added
- info