Refreshes the data associated with a Financial Connections Account.
Parameters
- featuresarray of enumsRequired
The list of account features that you would like to refresh.
Possible enum valuesbalanceBalance data from the account
ownershipOwnership data from the account
transactionsTransactions data from the account
Returns
Returns an Account object if a valid identifier was provided and if you have sufficient permissions to that account. Raises an error otherwise.
{ "id": "fca_1MwVK82eZvKYlo2Cjw8FMxXf", "object": "financial_connections.account", "account_holder": { "customer": "cus_9s6XI9OFIdpjIg", "type": "customer" }, "balance": null, "balance_refresh": { "status": "pending", "last_attempted_at": 1681422295 }, "category": "cash", "created": 1681412208, "display_name": "Sample Checking Account", "institution_name": "StripeBank", "last4": "6789", "livemode": false, "ownership": null, "ownership_refresh": null, "permissions": [], "status": "pending", "subcategory": "checking", "subscriptions": [], "supported_payment_method_types": [ "us_bank_account" ], "transaction_refresh": null}Subscribes to periodic refreshes of data associated with a Financial Connections Account. When the account status is active, data is typically refreshed once a day.
Parameters
- featuresarray of enumsRequired
The list of account features to which you would like to subscribe.
Possible enum valuestransactionsTransactions data from the account
Returns
Returns an Account object if a valid identifier was provided and if you have sufficient permissions to that account. Raises an error otherwise.
{ "id": "fca_1NQay62eZvKYlo2C8dflHjWB", "object": "financial_connections.account", "account_holder": { "customer": "cus_9s6XKzkNRiz8i3", "type": "customer" }, "balance": null, "balance_refresh": null, "category": "cash", "created": 1688583746, "display_name": "Sample Checking Account", "institution_name": "StripeBank", "last4": "6789", "livemode": false, "ownership": null, "ownership_refresh": null, "permissions": [], "status": "active", "subcategory": "checking", "subscriptions": [ "transactions" ], "supported_payment_method_types": [ "us_bank_account" ], "transaction_refresh": { "id": "fctxnref_OD10iHSd7eaheDkeabbQfnJ7", "status": "pending", "last_attempted_at": 1625337296 }}Unsubscribes from periodic refreshes of data associated with a Financial Connections Account.
Parameters
- featuresarray of enumsRequired
The list of account features from which you would like to unsubscribe.
Possible enum valuestransactionsTransactions data from the account
Returns
Returns an Account object if a valid identifier was provided and if you have sufficient permissions to that account. Raises an error otherwise.
{ "id": "fca_1NQayH2eZvKYlo2CMBkU6Y9s", "object": "financial_connections.account", "account_holder": { "customer": "cus_9s6XKzkNRiz8i3", "type": "customer" }, "balance": null, "balance_refresh": null, "category": "cash", "created": 1688583757, "display_name": "Sample Checking Account", "institution_name": "StripeBank", "last4": "6789", "livemode": false, "ownership": null, "ownership_refresh": null, "permissions": [], "status": "active", "subcategory": "checking", "subscriptions": [], "supported_payment_method_types": [ "us_bank_account" ], "transaction_refresh": { "id": "fctxnref_OD10EqMBikeOrWm7JW44fdpo", "status": "succeeded", "last_attempted_at": 1625337296 }}