Get the reason for the claim - Claims - Mercado Pago Developers
What are you looking for?

Do not know how to start integrating? 

Check the first steps
Get the reason for the claim

GET

https://api.mercadopago.com/post-purchase/v1/reasons/{reason_id}
This endpoint allows you to view, through a valid token, the 'reason' why the claim was created, so that based on its classification, certain behaviors are allowed..
Request's parameters
PATH
site_id
string

REQUIRED

ID of the site where the claim occurs.
MCO: Mercado Libre Colombia
MLA: Mercado Livre Argentina
MLB: Mercado Libre Brasil
View more
reason_id
string

REQUIRED

Reason ID of the claim. A claim can be created for three general reasons:
PNR: Product not received.
PDD: Different or defective product.
CS: Purchase cancellation.
Response parameters
id
string
Reason ID of the claim. A claim can be created for three general reasons:
PNR: Product not received.
PDD: Different or defective product.
CS: Purchase cancellation.
flow
string
Indicates which mediation flow the claim is currently in.
mediations: Refers to the process of mediating between parties in a claim.
cancel_purchase: Involves the process of cancelling a previously made purchase.
return: Pertains to the process of returning a purchased item.
View more
name
string
Displays the description of the reason for the claim.
detail
string
Displays details about the reason for the claim.
Request
curl -X GET \
    'https://api.mercadopago.com/post-purchase/v1/reasons/{reason_id}'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-7719*********832-03141*********ec9309854*********f1e54b5-1*********' \
    
Sample answer
{
  "id": "PDD1",
  "flow": "meadiations",
  "name": "defective_item",
  "detail": "El producto es defectuoso.",
  "filter": {},
  "parent_id": "PDD9501",
  "status": "active",
  "date_created": "2022-01-04T17:09:50.793Z",
  "last_updated": "2022-01-04T17:09:50.793Z"
}