CSV columns
The CSV report has one row per settled transaction event. Settlement-level values, such asAccountId and SettlementDate, repeat on every row.
- Fields are separated by
;. - Text values are quoted with
". Numbers are not quoted. - The file is UTF-8 with a byte order mark (BOM).
- Dates use the
YYYY-MM-DDformat. - Amounts are in the main currency unit (for example,
50for 50 NOK), with,as the decimal separator. The currency is not included in the CSV. - A settlement with no transactions produces an empty file with no header row.
Always-present columns
For CSV reports with at least one transaction, these columns appear in this order.Conditional columns
These columns appear only when at least one transaction in the settlement has a value for them. When a column appears, rows without a value have an empty cell. When they appear, they come after the always-present columns, in this order.Tips
When a customer adds a tip on a terminal, the tip is included in the captured amount of the transaction. The report also shows the tip amount on its own:
For examples, see the tipping reports in CSV, XML, JSON, and PDF.
Identify transaction rows
Each row in a report is one settled transaction event, not one transaction. In CSV this is a row, in XML a<TransactionInfo> element, and in JSON an entry in transactions.
A single Dintero transaction can have several settled events. For example, two partial captures and a refund on the same payment produce three rows. All three rows have the same transaction ID (TransactionID in CSV and XML, transaction_id in JSON). The transaction ID is therefore not a unique key for a row.
The event correlation ID is optional: XML omits the element and JSON omits the property when an event has none; CSV includes the EventCorrelationId column when any row has a value and leaves cells empty otherwise. The JSON example shows several rows with the same transaction_id and different event_correlation_id values.
Webhooks
We provide the webhooksettlement_add when a report has been created. See Webhooks to set it up.