lynx   »   [go: up one dir, main page]

The Transaction object 

Financial Connections
Transactions
The Transaction object

Attributes

  • idstring

    Unique identifier for the object.

  • objectstring

    String representing the object’s type. Objects of the same type share the same value.

  • accountstring

    The ID of the Financial Connections Account this transaction belongs to.

  • amountinteger

    The amount of this transaction, in cents.

  • currencystring

    Three-letter ISO currency code, in lowercase. Must be a supported currency.

  • descriptionstring

    The description of this transaction.

  • livemodeboolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

  • statusenum

    The status of the transaction.

    Possible enum values
    pending

    This transaction is processing and does not yet affect the account’s balance.

    posted

    This transaction has processed and affects the account’s balance.

    void

    This transaction has disappeared and no longer affects the account’s balance.

  • status_transitionsobject

    The timestamps at which the transaction status was updated.

    • status_transitions.posted_atnullable timestamp

      Time at which this transaction posted. Measured in seconds since the Unix epoch.

    • status_transitions.void_atnullable timestamp

      Time at which this transaction was voided. Measured in seconds since the Unix epoch.

  • transacted_attimestamp

    Time at which the transaction was transacted. Measured in seconds since the Unix epoch.

  • transaction_refreshstring

    The token of the transaction refresh that last updated or created this transaction.

  • updatedtimestamp

    Time at which the object was last updated. Measured in seconds since the Unix epoch.

The Transaction object
{
"id": "fctxn_1MwVKd2eZvKYlo2ChNw2UxSa",
"object": "financial_connections.transaction",
"account": "fca_1MwVKd2eZvKYlo2CnlgoF3I4",
"amount": 300,
"currency": "usd",
"description": "Rocket Rides",
"livemode": false,
"status": "posted",
"status_transitions": {
"posted_at": 1681412239,
"void_at": null
},
"transacted_at": 1681412239,
"transaction_refresh": "fctxnref_NhvAgiKSFDg9jOe6eIlj41X5",
"updated": 1681412239
}
Лучший частный хостинг