Represents a wallet transaction.

interface Transaction {
    accountId: string;
    amount?: number;
    balance?: number;
    creationTime?: string;
    currencyCode?: string;
    customerId: string;
    direction: TransactionDirection;
    fees?: SimpleFeePayment[];
    fxAmount?: FxAmount;
    id: string;
    instrumentDetails?: PaymentInstrumentTransactionDetails;
    lastChangeDate?: string;
    merchantRefNum?: string;
    paymentType?: PaymentOptionType;
    peerDetails?: PeerDetails;
    recipientReference?: string;
    slipId: string;
    status: TransactionStatus;
    statusReason?: string;
    transferDetails?: TransferDetails;
    type?: TransactionType;
}

Properties

accountId: string

Account Id associated with this transaction.

amount?: number

Transaction amount in minor units.

balance?: number

Balance of the account after the transaction in minor currency units.

creationTime?: string

Creation time of the transaction.

Format should be ISO 8601 in UTC. Represents RFC 3339, section 5.6 date-time.

Example

"2024-05-08T14:43:33Z"
currencyCode?: string

Currency alphabetic code as specified by ISO 4217.

Example

"EUR"
customerId: string

Wallet customer Id.

Transaction direction.

Customer fees attached to the transaction.

fxAmount?: FxAmount

Fx amount.

id: string

Transaction id.

Instrument details.

lastChangeDate?: string

Last change date of the transaction.

Format should be ISO 8601 in UTC. Represents RFC 3339, section 5.6 date-time.

Example

"2024-05-08T14:43:33Z"
merchantRefNum?: string

This is the merchant reference number created by the merchant and submitted as part of the request. It must be unique for each request and allows cross referencing objects from merchant system to embedded wallet objects.

paymentType?: PaymentOptionType

Payment type.

peerDetails?: PeerDetails

Peer details.

recipientReference?: string

Additional reference information for the recipient passed by the sender of the transaction. This information is not valid or present for all transaction types.

slipId: string

Transaction slip Id.

Transaction status.

statusReason?: string

Status reason for FAILED transactions.

transferDetails?: TransferDetails

Transfer details.

Transaction type.