API Reference
update Changelog
GET

Get transaction

language https://api.araucaria.money/v1/transactions/{id}

Returns details of a specific transaction, including amount, description, category, and status.


Parameters

Name Type Description
id * path string

Request Example

bash
curl -X GET "https://api.araucaria.money/v1/transactions/{id}" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Example

200 OK
json
{
  "id": "txn_01HQ3K5J7X8Y9Z0A1B2C3D4E5F",
  "accountId": "acc_01HQ3K5J7X8Y9Z0A1B2C3D4E5F",
  "amount": -25000,
  "currency": "CLP",
  "description": "Supermercado Lider",
  "category": "groceries",
  "transactionDate": "2024-01-15T00:00:00.000Z",
  "status": "posted",
  "details": {
    "v": 1,
    "source": "cl_banco_bci_pyme",
    "fields": [
      {
        "key": "fecha_de_transferencia",
        "label": "Fecha de transferencia",
        "value": "14/01/2024"
      },
      {
        "key": "hora_de_transferencia",
        "label": "Hora de transferencia",
        "value": "18:42"
      },
      {
        "key": "fecha_contable",
        "label": "Fecha contable",
        "value": "15/01/2024"
      },
      {
        "key": "rut_origen",
        "label": "Rut Origen",
        "value": "76123456-7"
      },
      {
        "key": "razon_social",
        "label": "Razon Social",
        "value": "COMERCIAL EJEMPLO SPA"
      },
      {
        "key": "banco_origen",
        "label": "Banco Origen",
        "value": "Banco de Chile"
      }
    ]
  },
  "createdAt": "2024-01-15T10:30:00Z"
}