GET
/chargebacks/v2/{chargebackId}Obtener contracargo
Devuelve un contracargo con el Identificador brindado por parámetro
Parámetros disponibles
Header Parameters
AuthorizationStringrequired
Detalle de respuestas
401
Unauthorized
Ejemplo de código
curl -X GET "https://api.pomelo.la/chargebacks/v2/{chargebackId}" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"Ejemplo de respuesta (200)OK
{
"data": {
"amount": 0,
"attachments": [
{
"created_at": "string",
"file_name": "string",
"file_size": 0,
"file_type": "string",
"id": "string"
}
],
"card_replacement": true,
"country_id": "ARG",
"created_at": "string",
"currency": "ARS",
"description": "string",
"reason": "VIRTUAL_PAYMENT",
"dispute_type": "CONTROVERSY",
"id": "`cbk-1ab2c3d4`",
"liability": "MERCHANT",
"dispute_reason": "string",
"status": "PENDING",
"transaction_id": "string",
"trust_credit_applied": true,
"updated_at": "string",
"user_id": "string"
}
}