> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onepay.la/llms.txt
> Use this file to discover all available pages before exploring further.

# Intentos de pago

> Endpoint para obtener la lista de intentos asociados a un pago en el sistema de OnePay.

<ParamField path="payment_id" type="string" required placeholder="9e02966f-2ddf-4ee7-a391-5b5b7653e232">
  ID del pago cuyo historial de intentos consultarás. [Crear pago](/client/payments/create).
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  [
    {
      "id": "9e028bd9-755f-4069-8742-7727d0dc4047",
      "status": "succeeded",
      "currency": "COP",
      "amount": 10000,
      "amount_label": "$10.000",
      "payment_method_type": "CARD",
      "payment_method_id": "9e028bd9-74b0-4eda-a121-ab3d59909ce7",
      "network_id": "ntw_987654321",
      "transaction_id": "txn_abc123xyz",
      "remarks": {
        "code": "approved",
        "message": "Pago aprobado"
      },
      "is_test": true,
      "created_at": "2025-01-20T01:48:54.000000Z",
      "paid_at": "2025-01-20T01:49:10.000000Z"
    },
    {
      "id": "8f139e2a-6b5c-4d7e-9f01-23a456789abc",
      "status": "failed",
      "currency": "COP",
      "amount": 10000,
      "amount_label": "$10.000",
      "payment_method_type": "PSE",
      "payment_method_id": "8f139e2a-6b5c-4d7e-9f01-23a456789abc",
      "network_id": null,
      "transaction_id": null,
      "remarks": {
        "code": "declined",
        "message": "Fondos insuficientes"
      },
      "is_test": true,
      "created_at": "2025-01-20T01:45:22.000000Z",
      "paid_at": null
    }
  ]
  ```
</ResponseExample>
