Field | Description |
---|---|
id | String, Yordex generated UUID that is unique for this account |
currency | String, Yordex generated The card currency |
debitCredit | String, Yordex generated Whether this transaction decreased the bank account balance ('DEBIT') or increased it ('CREDIT') |
amountInCents | Number, Yordex generated The amount of this transaction in cents. This number is always positive regardless of whether the transaction is a DEBIT or a CREDIT |
date | String, Yordex generated The date on which this transaction was made. |
dateTime | String, Yordex generated The date and time on which this transaction was made. |
settlementDate | String, Yordex generated The date on which this transaction was settled. For card transactions this can be up to 20 days after the date on which this transaction was made. |
description | String, Yordex generated The description of this transaction. For card transactions this description is provided by the bank provider |
status | String, Yordex generated The status of this transaction. Possible values are 'PENDING', 'APPROVED', 'SETTLED' and 'DECLINED' |
transactionSource | String, Yordex generated The source of this transaction. Possible values are 'CARD', 'ACCOUNT' and 'CARD_TOPUP' |
yordexPayAccountId | String, Yordex generated The id of the bank account that this transaction is linked to. |
balanceInCents | Number, Yordex generated The balance on the bank account after this transaction |
transactionNumber | String, Yordex generated A number that Yordex assigns to this transaction. You should display transactions ordered by transactionNumber to make sure the balanceInCents is displayed sequentially. |
cardId | String, Yordex generated The id of the card that this transaction is linked to. This is only provided if the transactionSource is 'CARD' |
cardHolder | String, Yordex generated The email address of user linked to the card that this transaction is linked to. This is only provided if the transactionSource is 'CARD' |
cardHolderName | String, Yordex generated The name of user linked to the card that this transaction is linked to. This is only provided if the transactionSource is 'CARD' |
mcc | String, Yordex generated The Merchant Category Code (MCC code). That Visa and MasterCard assigned to this transaction. This is only provided if the transactionSource is 'CARD' |
mid | String, Yordex generated The Merchant Id (MID). That Visa and MasterCard assigned to this merchant. This is only set if the transactionSource is 'CARD' and is provided by our partner bank. |
mccDescription | String, Yordex generated The description of Merchant Category Code (MCC code). This is only provided if the transactionSource is 'CARD' |
orderId, eventId | String, Yordex generated The order id and event id that this transaction is auto-reconciled with. This is only provided if orders are created for every transaction. |
orderStatus, eventStatus | String, Yordex generated The status of the order that this transaction is auto-reconciled with. This is only provided if orders are created for every transaction. |
sellerId | String, Yordex generated The id of the seller of the order that this transaction is auto-reconciled with. This is only provided if orders are created for every transaction. |
sellerCompanyTradingName | String, Yordex generated The name of the seller of the order that this transaction is auto-reconciled with. This is only provided if orders are created for every transaction. When this is an expense, this name is the same as the name of the user. |
orderType | String, Yordex generated. The type of the order, either PO or EXPENSE |
bankTransactionId | String, Yordex generated. The transaction id that was generated by our partner bank. |
authorisationId | String, Yordex generated. This will only be set for the 'SETTLED' card transaction. You can use this field to match the 'PENDING' transaction with the 'SETTLED' transaction as below: pendingTransaction.bankTransactionId == settledTransaction.authorisationId |