---
title: "TransactionBase"
description: "Core details shared by transaction resources."
image: "https://developer.sumup.com/og/index.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://developer.sumup.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: SumUp REST API

Core details shared by transaction resources.

## Fields

- `id` (`TransactionBase.id`; string, optional) — Unique identifier of the transaction.
  - example `"6b425463-3e1b-431d-83fa-1e51c2925e99"`
- `transaction_code` (`TransactionBase.transaction_code`; string, optional) — SumUp transaction code, for example `TEENSK4W2K`. Use it to look up the transaction with the `transaction_code` query parameter. This is separate from the transaction's `id` and the card issuer's `auth_code`.
  - example `"TEENSK4W2K"`
- `amount` (`TransactionBase.amount`; number, optional) — Total amount of the transaction in major units of `currency`, for example `10.1` for EUR 10.10.
  - format `float`; example `10.1`
- `currency` (`TransactionBase.currency`; string, optional) — Three-letter [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the amount.
  - one of `"BRL"`, `"CHF"`, `"CLP"`, `"COP"`, `"CZK"`, `"DKK"`, `"EUR"`, `"GBP"`, `"HRK"`, `"HUF"`, `"NOK"`, `"PLN"`, `"RON"`, `"SEK"`, `"USD"`; example `"EUR"`
- `timestamp` (`TransactionBase.timestamp`; string, optional) — The timestamp of when the transaction was created.
  - format `date-time`; example `"2020-02-29T10:56:56.876Z"`
- `status` (`TransactionBase.status`; string, optional) — Current status of the transaction. - `PENDING`: The transaction has been created but its final outcome is not known yet. - `SUCCESSFUL`: The transaction completed successfully. - `CANCELLED`: The transaction was cancelled or otherwise reversed before completion. - `FAILED`: The transaction attempt did not complete successfully. - `REFUNDED`: The transaction was refunded in full or in part.
  - one of `"SUCCESSFUL"`, `"CANCELLED"`, `"FAILED"`, `"PENDING"`, `"REFUNDED"`; example `"SUCCESSFUL"`
- `payment_type` (`TransactionBase.payment_type`; string, optional) — Payment category recorded on a transaction, for example `POS` for a point-of-sale card payment, `ECOM` for an online card payment, or `RECURRING` for a recurring card payment. These reporting values are separate from the lowercase `payment_type` values used to process checkouts.
  - one of `"CASH"`, `"POS"`, `"ECOM"`, `"RECURRING"`, `"BITCOIN"`, `"BALANCE"`, `"MOTO"`, `"BOLETO"`, `"DIRECT_DEBIT"`, `"APM"`, `"UNKNOWN"`; example `"ECOM"`
- `installments_count` (`TransactionBase.installments_count`; integer, optional) — Number of installments for a deferred payment.
  - min 1; example `1`


Source: https://developer.sumup.com/api/schemas/TransactionBase/index.md
