A transaction is an individual entry that represents a financial movement on a Fiat Account. The Transaction object represents completed transactions that were posted to the account, including the amount, direction and transaction type.
You cannot create Transactions via the Fiat Republic API, as they reflect the actual movement of funds, and are created by Fiat Republic. For example, if you create a SEPA payment, the transaction will be created once the payment is completed and the funds have been debited from the Fiat Account.
Transactions are final, and cannot be deleted or updated.
Transaction Object
Attribute | Description | Format/Enum |
---|---|---|
id string | Unique identifier of the transaction. | e.g. |
fiatAccountId | Unique identifier of the Fiat Account on which the transaction was created. | |
amount | Amount of the transaction in 2 decimal places. | e.g. |
balanceAfter | Account balance after the transaction occurred. | |
currency | Currency of the transaction. | Three-letter ISO 4217 code e.g. |
direction | Direction of the transaction. |
|
type | Type of the transaction. |
|
counterparty | Name of the counterparty of the transaction. Typically the name of the Payer, Payee or Fiat Account depending on the transaction type. | |
cause | Object containing details of the entity that caused the transaction to be posted. | |
cause.type | Type of the entity that caused the transaction to be posted. |
|
cause.id | Identifier of the entity that caused the transaction to be posted. | |
cause.reference | Reference of the entity that caused the transaction to be posted. | |
createdAt | Epoch timestamp at which the object was created. | e.g. |