Skip to main content

Transaction

The Transaction class represents a financial transaction. Reference: GoCardless Documentation

Properties

TransactionId - string?

Used as access-ID in the PSD2 interface, where more details on an transaction are offered. If this data attribute is provided this shows that the AIS (Account Information Service) can get access on more details about this transaction.

DebtorName - string?

The name of the party which owes the money.

DebtorAccount - AccountDetails?

The account of the party which owes the money.

DebtorAgent - string?

The BIC code allocated to the financial institution servicing an account for the debtor.

UltimateDebtor - string?

Ultimate party that owes an amount of money to the (ultimate) creditor.

CreditorName - string?

The name of the party which is owed the money.

CreditorAccount - AccountDetails?

The account of the party which is owed the money.

CreditorAgent - string?

The BIC code allocated to the financial institution servicing an account for the creditor.

UltimateCreditor - string?

Ultimate party that is owed an amount of money by the (ultimate) debtor.

CreditorId - string?

Identification of Creditors, e.g. a SEPA Creditor ID.

TransactionAmount - AmountCurrencyPair

The transaction amount including details about the currency the amount is denominated in.

BankTransactionCode - string?

Code consisting of "DomainCode"-"FamilyCode"-"SubFamilyCode". For reference see ISO20022. Example: PMNT-RCDT-ESCT defining a transaction assigned to the PayMeNT domain(PMNT), belonging to the family of ReceivedCreDitTransfer(RCDT) that facilitated the EuropeanSEPACreditTransfer(ESCT).

BookingDate - DateTime?

The date when the transaction was posted to the account.

BookingDateTime - DateTime?

The date and time when the transaction was posted to the account.

ValueDate - DateTime?

Date at which assets become available to the account owner in case of a credit entry, or cease to be available to the account owner in case of a debit entry.

ValueDateTime - DateTime?

Date at which assets become available to the account owner in case of a credit entry, or cease to be available to the account owner in case of a debit entry.

RemittanceInformationUnstructured - string?

Unstructured reference issued by the seller used to establish a link between the payment of an invoice and the invoice instance. The reference helps the seller to assign an incoming payment to the invoice by using a reference such as the invoice number or a purchase order number.

Limited by the PSD2 specification to 140 characters, truncates additional information if necessary.

RemittanceInformationUnstructuredArray - List<string>?

Unstructured reference issued by the seller used to establish a link between the payment of an invoice and the invoice instance. The reference helps the seller to assign an incoming payment to the invoice by using a reference such as the invoice number or a purchase order number.

Might contain more information than RemittanceInformationUnstructured (if contents were truncated).

RemittanceInformationStructured - string?

Reference issued by the seller used to establish a link between the payment of an invoice and the invoice instance. The reference helps the seller to assign an incoming payment to the invoice by using a reference such as the invoice number or a purchase order number.

RemittanceInformationStructuredArray - List<string>?

Reference issued by the seller used to establish a link between the payment of an invoice and the invoice instance. The reference helps the seller to assign an incoming payment to the invoice by using a reference such as the invoice number or a purchase order number.

EndToEndId - string?

Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.

MandateId - string?

Identification of mandates, e.g. a SEPA mandate id.

ProprietaryBankTransactionCode - string?

Proprietary bank transaction code to identify the underlying transaction.

PurposeCode - string?

Underlying reason for the transaction, as published in an external purpose code list. For reference see: ISO20022 External

AdditionalInformation - string?

Used by the financial institution to transport additional transaction related information.

AdditionalInformationStructured - string?

Used if and only if the bookingStatus entry equals "information".

BalanceAfterTransaction - Balance?

The balance of the account after this transaction.

CheckId - string?

Identification of a check.

CurrencyExchange - List<CurrencyExchange>?

Array of the report exchange rate.

EntryReference - string?

The identification of the transaction as used for reference by the financial institution.

InternalTransactionId - string?

Transaction identifier given by GoCardless.

MerchantCategoryCode - string?

Merchant category code as defined by the card issuer.

Constructor

public Transaction(string? transactionId, string? debtorName, AccountDetails? debtorAccount,
string? ultimateDebtor, string? creditorName, AccountDetails? creditorAccount,
AmountCurrencyPair transactionAmount, string? bankTransactionCode, DateTime? bookingDate,
DateTime? valueDate, string? remittanceInformationUnstructured,
List<string>? remittanceInformationUnstructuredArray, string? endToEndId, string? mandateId,
string? proprietaryBankTransactionCode, string? purposeCode, string? debtorAgent, string? creditorAgent,
string? ultimateCreditor, string? creditorId, DateTime? valueDateTime,
string? remittanceInformationStructured, List<string>? remittanceInformationStructuredArray,
string? additionalInformation, string? additionalInformationStructured, Balance? balanceAfterTransaction,
string? checkId, List<CurrencyExchange>? currencyExchange, string? entryReference,
string? internalTransactionId, string? merchantCategoryCode, DateTime? bookingDateTime)

Parameters

transactionId - string?

Used as access-ID in the PSD2 interface, where more details on an transaction are offered. If this data attribute is provided this shows that the AIS (Account Information Service) can get access on more details about this transaction.

debtorName - string?

The name of the party which owes the money.

debtorAccount - AccountDetails?

The account of the party which owes the money.

debtorAgent - string?

The BIC code allocated to the financial institution servicing an account for the debtor.

ultimateDebtor - string?

Ultimate party that owes an amount of money to the (ultimate) creditor.

creditorName - string?

The name of the party which is owed the money.

creditorAccount - AccountDetails?

The account of the party which is owed the money.

creditorAgent - string?

The BIC code allocated to the financial institution servicing an account for the creditor.

ultimateCreditor - string?

Ultimate party that is owed an amount of money by the (ultimate) debtor.

creditorId - string?

Identification of Creditors, e.g. a SEPA Creditor ID.

transactionAmount - AmountCurrencyPair

The transaction amount including details about the currency the amount is denominated in.

bankTransactionCode - string?

Code consisting of "DomainCode"-"FamilyCode"-"SubFamilyCode". For reference see ISO20022. Example: PMNT-RCDT-ESCT defining a transaction assigned to the PayMeNT domain(PMNT), belonging to the family of ReceivedCreDitTransfer(RCDT) that facilitated the EuropeanSEPACreditTransfer(ESCT).

bookingDate - DateTime?

The date when the transaction was posted to the account.

bookingDateTime - DateTime?

The date and time when the transaction was posted to the account.

valueDate - DateTime?

Date at which assets become available to the account owner in case of a credit entry, or cease to be available to the account owner in case of a debit entry.

valueDateTime - DateTime?

Date at which assets become available to the account owner in case of a credit entry, or cease to be available to the account owner in case of a debit entry.

remittanceInformationUnstructured - string?

Unstructured reference issued by the seller used to establish a link between the payment of an invoice and the invoice instance. The reference helps the seller to assign an incoming payment to the invoice by using a reference such as the invoice number or a purchase order number.

Limited by the PSD2 specification to 140 characters, truncates additional information if necessary.

remittanceInformationUnstructuredArray - List<string>?

Unstructured reference issued by the seller used to establish a link between the payment of an invoice and the invoice instance. The reference helps the seller to assign an incoming payment to the invoice by using a reference such as the invoice number or a purchase order number.

Might contain more information than RemittanceInformationUnstructured (if contents were truncated).

remittanceInformationStructured - string?

Reference issued by the seller used to establish a link between the payment of an invoice and the invoice instance. The reference helps the seller to assign an incoming payment to the invoice by using a reference such as the invoice number or a purchase order number.

remittanceInformationStructuredArray - List<string>?

Reference issued by the seller used to establish a link between the payment of an invoice and the invoice instance. The reference helps the seller to assign an incoming payment to the invoice by using a reference such as the invoice number or a purchase order number.

endToEndId - string?

Unique identification assigned by the initiating party to unambiguously identify the transaction. This identification is passed on, unchanged, throughout the entire end-to-end chain.

mandateId - string?

Identification of mandates, e.g. a SEPA mandate id.

proprietaryBankTransactionCode - string?

Proprietary bank transaction code to identify the underlying transaction.

purposeCode - string?

Underlying reason for the transaction, as published in an external purpose code list. For reference see: ISO20022 External

additionalInformation - string?

Used by the financial institution to transport additional transaction related information.

additionalInformationStructured - string?

Used if and only if the bookingStatus entry equals "information".

balanceAfterTransaction - Balance?

The balance of the account after this transaction.

checkId - string?

Identification of a check.

currencyExchange - List<CurrencyExchange>?

Array of the report exchange rate.

entryReference - string?

The identification of the transaction as used for reference by the financial institution.

internalTransactionId - string?

Transaction identifier given by GoCardless.

merchantCategoryCode - string?

Merchant category code as defined by the card issuer.