Get the reason for the claimhttps://api.mercadopago.com/post-purchase/v1/claims/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.
GET
Request parameters
Header
Authorization
Access Token obtained through the developer panel. Must be sent in all requests.string
REQUIRED
Path
reason_id
Reason ID of the claim. A claim can be created for three general reasons:string
REQUIRED
PNR: Product not received.
PDD: Different or defective product.
CS: Purchase cancellation.
Response parameters
id
Reason ID of the claim. A claim can be created for three general reasons:string
PNR: Product not received.
PDD: Different or defective product.
CS: Purchase cancellation.
flow
Indicates which mediation flow the claim is currently in.string
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 morename
Displays the description of the reason for the claim.string
detail
Displays details about the reason for the claim.string
Request
curl -X GET \
'https://api.mercadopago.com/post-purchase/v1/claims/reasons/{reason_id}'\
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer APP_USR-8*********932064-12*********edf6d3c99*********2236c703f*********668' \
Response
{
"id": "PDD1",
"flow": "meadiations",
"name": "defective_item",
"detail": "El producto es defectuoso.",
"position": 201,
"filter": {},
"settings": {}
}