Ir al contenido

Obtener los intentos de pago un objeto Payment

GET /v3/payment/{uuid}/attempts
Ambiente URL base API Portal de comercio
Sandbox https://api.virtualpos-sandbox.com comercios.virtualpos-sandbox.com
Producción https://api.virtualpos.cl comercios.virtualpos.cl
Nombre Tipo Requerido Descripción
Authorization string Sí API KEY del comercio
Signature string Sí Firma del mensaje
Ventana de terminal
curl -X GET 'https://api.virtualpos-sandbox.com/v3/payment/{uuid}/attempts' \
-H 'Content-Type: application/json' \
-H "Authorization: $API_KEY" \
-H "Signature: $SIGNATURE"
{
"status": "OK",
"code": 200,
"commerce": {
"commerce_id": "77488811-8",
"name": "Virtualpos"
},
"payment": {
"client": {
"email": "JohnDoe@virtualpos.cl",
"first_name": "John",
"last_name": "Doe",
"social_id": "11538111-1",
"phone": "56981534402"
},
"order": {
"uuid": "1700570969d8093d",
"status": "pagado",
"created_at": "2026-04-09 16:17:01",
"card_number": "5843",
"authorized_at": "2026-04-10 09:01:03",
"auth_code": "236592",
"installment_amount": "",
"installment_number": "0",
"payment_type_code": "VN",
"amount": 100,
"tip_amount": 0,
"merchant_internal_code": "",
"merchant_internal_channel": "",
"deposits": [
{
"description": "1/1",
"installment": 100,
"tip_amount": 0,
"processing_flat_fee": 0,
"processing_fee": 3,
"payout_amount": 97,
"payout_date": "2026-04-15"
}
],
"bank": {},
"payment_method": "PAT",
"authorization_attempts_cards": [
{
"created_at": "2026-04-10 09:01:00",
"response_code": "0",
"acquirer": "transbank",
"response_message": null,
"response_description": "Operación exitosa",
"authorization_type": "PAN"
},
{
"created_at": "2026-04-09 16:18:15",
"response_code": "-2122",
"acquirer": "klap",
"response_message": "VIOLACION DE SEGURIDAD",
"response_description": "Violacion de seguridad",
"authorization_type": "NETWORK_TOKEN"
}
]
}
},
"rejected_object": {
"code": "0",
"message": "Operación exitosa",
"doc_url": "https://virtualpos.readme.io/reference/objeto-rechazo"
}
}
{
"status": "NOK",
"code": 400,
"error": {
"error_code": "E-020",
"message": "Error, no existe transacción asociada a UUID: ... .",
"doc_url": "https://virtualpos.readme.io/reference/objeto-error"
}
}