Intelligent search powered by OpenAI
Get file data
GET
Request's parameters
PATH
claim_id
Claim ID. Unique identifier used to reference a specific claim in the system, essential for tracking and managing these claims.number
REQUIRED
attach_id
Identifier of the attached file.string
REQUIRED
Response parameters
filename
Current name (hashed - used for retrieving the attachment) of the image file attached to the message associated with the claim.string
original_filename
Original name of the image file attached to the message associated with the claim.string
size
Size (in bytes) of the image file attached to the message associated with the claim.number
date_created
Date when the image file was attached to the message associated with the complaint.string
Request
curl -X GET \
'https://api.mercadopago.com/post-purchase/v1/claims/{claim_id}/attachments/{fileName}'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer TEST-3322*********190-03031*********46528954c*********0339910-1*********' \
Sample answer
{
"filename": "767b79a6-88c8-4fa4-8d95-2cb78fcd897f.jpeg",
"original_filename": "WWhatsApp-Image-2020-09-22.jpeg",
"size": 1880609,
"date_created": "2020-07-22T20:43:15.000-04:00",
"type": "image/jpeg"
}