v3

latestOpenAPI 3.0.3Apache 2.02026-07-312637031.3 MB
Accounts

Initiate account closure

Initiates an account closure. It immediately changes the account status to IN_CLOSING. Once the account status is IN_CLOSING, the account can no longer be used to create new transactions.

post/accounts/{account_id}/initiate_closure

Path parameters

account_idstring uuid required
Example:57826c51-e4ff-4e57-9558-08cab6b963c7

Unique identifier for the account.

Headers

Idempotency-Keystring
Example:7d943c51-e4ff-4e57-9558-08cab6b963c7

An idempotency key is an arbitrary unique value generated by client to detect subsequent retries of the same request. It is recommended that a UUID or a similar random identifier be used as an idempotency key. A different key must be used for each request, unless it is a retry.

Request body

destination_idstring uuid nullable

internal/external/customer account ID, depending on payment_method

payment_method'ACH' | 'BANK_DRAFT' | 'INTERNAL_TRANSFER_TO_CUSTOMER_ACCOUNT' | 'INTERNAL_TRANSFER_TO_INTERNAL_ACCOUNT' nullable

Payment method for the final payment if the account being closed carries a balance.

reason'BANK_REQUEST_CHARGE_OFF' | 'BANK_REQUEST_FRAUD' | 'BANK_REQUEST_INACTIVITY' | 'BANK_REQUEST_REDEEMED_OR_REINSTATED_REPOSSESSION' | 'BANK_REQUEST_REGULATORY_REASONS' | 'BANK_REQUEST_WRITE_OFF' | 'CUSTOMER_REQUEST_CREDIT_CARD_LOST_OR_STOLEN' | 'CUSTOMER_REQUEST_REFINANCE' | 'CUSTOMER_REQUEST_TRANSFER' | 'CUSTOMER_REQUEST_VOLUNTARILY_SURRENDERED' | 'PROGRAM_SHUT_DOWN_BANK' | 'PROGRAM_SHUT_DOWN_FINTECH' required

The enumerated reason for closing the account. This is a required field when closing an account; the given value will be validated against the caller's permissions.

  • BANK_REQUEST_CHARGE_OFF – A charge-off is when a creditor declares an uncollected debt a loss and removes it from its balance sheet. The account will be closed to new charges and may be sent to a collection agency. * BANK_REQUEST_WRITE_OFF - A write-off is when a bank declares an uncollected debt a loss and removes it from its balance sheet. The account will be closed to new charges.
reason_detailsstring required

Additional details about the reason for closing the account

Example request

{
  "reason": "BANK_REQUEST_REGULATORY_REASONS"
}

Response

Account to close

access_status'ACTIVE' | 'FROZEN'

Represents whether a customer has frozen their account. FROZEN is a customer-initiated state meaning that the account will reject all debits, typically used for a lost or stolen card.

access_status_last_updated_timestring date-time

Timestamp of the last modification of the access_status. RFC3339 format.

account_numberstring

Account number

account_number_maskedstring

The response will contain the bank fintech ID (3 or 6 digits) plus the last 4 digits, with the digits in between replaced with * characters. Shadow mode account numbers will not be masked.

account_program_idstring uuid
account_purposestring

Purpose of the account

account_template_idstring uuid

The account template used to create this account (if any). On creation, if not specified: * account_type is required. * If there is a single account template of the correct type, that account template is automatically used. * Otherwise, the request is an error.

account_type'CHARGE_SECURED' | 'CHARGE_UNSECURED' | 'CHECKING' | 'CREDIT_CARD' | 'GENERAL_LEDGER' | 'LINE_OF_CREDIT' | 'PREPAID' | 'REVOLVING_CREDIT_SECURED' | 'REVOLVING_CREDIT_UNSECURED' | 'SAVING'

The type of the account. In lead mode, this always takes the value of the template. If not specified in shadow mode, CHECKING will be assumed. Below mentioned are the account types:

  • SAVING: Savings account
  • CHECKING: Checking account
  • PREPAID: Prepaid account
  • LINE_OF_CREDIT: Line of Credit account
  • CREDIT_CARD: Credit Card account
  • CHARGE_SECURED: Secured Charge account, e.g. for use in a Smart Charge Card offering
  • CHARGE_UNSECURED: (alpha) Unsecured Charge account
  • REVOLVING_CREDIT_SECURED: Secured Revolving Credit account
  • REVOLVING_CREDIT_UNSECURED: Unsecured Revolving Credit account
  • GENERAL_LEDGER: General Ledger account (alpha - cannot yet be created). In production, these can only be created or updated by a Synctera administrator.
application_idstring uuid

The application ID for this account.

auto_payment_periodinteger

The number of days past the billing period to initiate an auto payment. Only applicable for accounts with type CHARGE_SECURED, where the account holder has opted in for auto payment functionality. This value must be lower than or equal to the grace_period setting on the account. If this value is 0, the auto payment will happen on the same day as the statement is generated. Auto payment only occurs if regular payments are not received on time.

bank_account_idstring

Identifier of the bank side account that this account is a part of

bank_routingstring

Bank routing number

business_idsstring[]

A list of the business IDs of the account holders.

close_datestring date

The account close date. This is the bank's posting date when the account resource's status was changed to CLOSED or CHARGED_OFF.

creation_timestring date-time

Account creation timestamp in RFC3339 format

credit_limitinteger

The credit limit for this line of credit account in cents. Minimum is 0.

currencystring

Account currency or account settlement currency. ISO 4217 alphabetic currency code. Default USD

customer_idsstring[]

A list of the customer IDs of the account holders.

customer_type'BUSINESS' | 'PERSONAL'

Customer type

days_past_dueinteger

The number of days since the account went past due on their minimum payments.

exchange_rate_typestring

Exchange rate type

fee_product_idsstring[] nullable

A list of fee account products that the current account associates with.

funds_ownership'BANK' | 'FINTECH' | 'PLATFORM'

An account's funds ownership indicates which organization owns the funds in the account. For example, some GENERAL_LEDGER accounts have funds owned by the bank, even though the account is in the fintech tenant. Fintechs are not able to perform money movement on accounts where the bank or platform owns the funds. This read-only property is determined by the account_type and general_ledger_type.

general_ledger_category'CORE' | 'PROFIT_AND_LOSS' | 'RESERVE' | 'SETTLEMENT' | 'SUSPENSE' | 'TREASURY'

The category of the general ledger account. This read-only property is determined by the general_ledger_type.

general_ledger_type'ACH_SETTLEMENT' | 'ACH_SUSPENSE' | 'ALLOCATED_SUSPENSE' | 'BANK_DRAFT' | 'BILLING_EXPENSE' | 'BILLING_REVENUE' | 'CARD_AFT_PREFUNDING' | 'CARD_OCT_SETTLEMENT' | 'CARD_SETTLEMENT' | 'CASH_SETTLEMENT' | 'CASH_SUSPENSE' | 'CHECK_SETTLEMENT' | 'DISPUTE_WRITE_OFF_PNL' | 'EFT_CA_SETTLEMENT' | 'EFT_CA_SUSPENSE' | 'EXTERNAL_CARD_AFT_SETTLEMENT' | 'EXTERNAL_CARD_OCT_SETTLEMENT' | 'FEDNOW_SETTLEMENT' | 'FEES' | 'FRAUD_LOSSES' | 'FUNDING_ACCOUNTS' | 'GENERAL_PNL' | 'INTEREST_PAYOUT' | 'INTERNATIONAL_WIRE_SETTLEMENT' | 'IN_STORE_CASH_SETTLEMENT' | 'LOC_INTEREST_INCOME' | 'LOC_INVESTOR_PORTFOLIO' | 'LOC_REPURCHASE' | 'MONEY_IN_AND_OUT' | 'NEGATIVE_BALANCE' | 'NETWORK_ADJUSTMENT' | 'NETWORK_CHARGEBACK' | 'NEW_FUNDING_ACCOUNT' | 'PROVISIONAL_CREDIT_PNL' | 'RESERVE' | 'REWARDS' | 'SC_INVESTOR_PORTFOLIO' | 'SC_REPURCHASE' | 'SYNCTERA_PAY_SUSPENSE' | 'USC_INTEREST_INCOME' | 'USC_INVESTOR_PORTFOLIO' | 'USC_REPURCHASE' | 'WIRE_SETTLEMENT' | 'WIRE_SUSPENSE' | 'WRITE_OFF'

The type of general ledger account. This is required when creating a general ledger account.

grace_periodinteger

The number of days past the billing period to allow for payment before it is considered due. This directly determines the due date for a payment.

ibanstring

International bank account number

idstring uuid

Account ID

in_closing_datestring date

The account in-closing date. This is the bank's posting date when the account resource's status was changed to IN_CLOSING.

interest_product_idstring uuid

An interest account product that the current account associates with.

is_account_poolboolean

Account is investment (variable balance) account or a multi-balance account pool. Default false

is_ach_credit_enabledboolean

A flag to indicate whether ACH credits are enabled. Both is_ach_enabled and is_ach_credit_enabled must be true for an ACH credit to be allowed.

is_ach_debit_enabledboolean

A flag to indicate whether ACH debits are enabled. Both is_ach_enabled and is_ach_debit_enabled must be true for an ACH debit to be allowed.

is_ach_enabledboolean

A flag to indicate whether ACH transactions are enabled.

is_card_credit_enabledboolean

A flag to indicate whether card credits are enabled. Both is_card_enabled and is_card_credit_enabled must be true for a card credit to be allowed.

is_card_debit_enabledboolean

A flag to indicate whether card debits are enabled. Both is_card_enabled and is_card_debit_enabled must be true for a card debit to be allowed.

is_card_enabledboolean

A flag to indicate whether card transactions are enabled.

is_cash_credit_enabledboolean

A flag to indicate whether cash credits are enabled. Both is_cash_enabled and is_cash_credit_enabled must be true for a cash credit to be allowed.

is_cash_debit_enabledboolean

A flag to indicate whether cash debits are enabled. Both is_cash_enabled and is_cash_debit_enabled must be true for a cash debit to be allowed.

is_cash_enabledboolean

A flag to indicate whether cash transactions are enabled.

is_check_credit_enabledboolean

A flag to indicate whether check credits are enabled. Both is_check_enabled and is_check_credit_enabled must be true for a check credit to be allowed.

is_check_debit_enabledboolean

A flag to indicate whether check debits are enabled. Both is_check_enabled and is_check_debit_enabled must be true for a check debit to be allowed.

is_check_enabledboolean

A flag to indicate whether check transactions are enabled.

is_eft_ca_credit_enabledboolean

A flag to indicate whether EFT Canada credits are enabled. Both is_eft_ca_enabled and is_eft_ca_credit_enabled must be true for an EFT Canada credit to be allowed.

is_eft_ca_debit_enabledboolean

A flag to indicate whether EFT Canada debits are enabled. Both is_eft_ca_enabled and is_eft_ca_debit_enabled must be true for an EFT Canada debit to be allowed.

is_eft_ca_enabledboolean

A flag to indicate whether EFT Canada transactions are enabled.

is_external_card_credit_enabledboolean

A flag to indicate whether external card credits are enabled. Both is_external_card_enabled and is_external_card_credit_enabled must be true for an external card credit to be allowed.

is_external_card_debit_enabledboolean

A flag to indicate whether external card debits are enabled. Both is_external_card_enabled and is_external_card_debit_enabled must be true for an external card debit to be allowed.

is_external_card_enabledboolean

A flag to indicate whether external card transactions are enabled.

is_fednow_credit_enabledboolean

A flag to indicate whether FedNow credits are enabled. Both is_fednow_enabled and is_fednow_credit_enabled must be true for a FedNow credit to be allowed.

is_fednow_debit_enabledboolean

A flag to indicate whether FedNow debits are enabled. Both is_fednow_enabled and is_fednow_debit_enabled must be true for a FedNow debit to be allowed.

is_fednow_enabledboolean

A flag to indicate whether FedNow transactions are enabled.

is_p2p_enabledboolean

A flag to indicate whether P2P transactions are enabled.

is_sar_enabledboolean

A flag to indicate whether SAR generation is enabled.

is_securityboolean

A flag to indicate whether this account is being used as security for another account.

is_synctera_pay_credit_enabledboolean

A flag to indicate whether Synctera Pay credits are enabled. Both is_synctera_pay_enabled and is_synctera_pay_credit_enabled must be true for a Synctera Pay credit to be allowed.

is_synctera_pay_debit_enabledboolean

A flag to indicate whether Synctera Pay debits are enabled. Both is_synctera_pay_enabled and is_synctera_pay_debit_enabled must be true for a Synctera Pay debit to be allowed.

is_synctera_pay_enabledboolean

A flag to indicate whether Synctera Pay transactions are enabled.

is_system_auto_pay_enabledboolean

A flag to indicate whether auto pay feature is enabled.

is_wire_credit_enabledboolean

A flag to indicate whether wire credits are enabled. Both is_wire_enabled and is_wire_credit_enabled must be true for a wire credit to be allowed.

is_wire_debit_enabledboolean

A flag to indicate whether wire debits are enabled. Both is_wire_enabled and is_wire_debit_enabled must be true for a wire debit to be allowed.

is_wire_enabledboolean

A flag to indicate whether wire transactions are enabled.

last_updated_timestring date-time

Timestamp of the last account modification in RFC3339 format

metadataobject

User provided account metadata

nicknamestring

User provided account nickname

open_datestring date

The account open date. This is the bank's posting date when the account resource was created.

overdraft_limitinteger

This field is unused and will be removed in a future API version.

reward_product_idsstring[] nullable

A list of reward account products that the current account associates with.

spend_control_idsstring[]

List of spend control IDs to control spending for the account

status'ACCOUNT_NEVER_ACTIVE' | 'ACCOUNT_NOT_DESIRED' | 'ACTIVATED_NOT_DISBURSED' | 'ACTIVE_OR_DISBURSED' | 'APPLICATION_SUBMITTED' | 'AWAITING_FIXING' | 'CHARGED_OFF' | 'CLOSED' | 'DELINQUENT' | 'FAILED_KYC' | 'IN_CLOSING' | 'RESTRICTED' | 'SUSPENDED'

The status of the account.

StatusDescriptionTransactable
ACCOUNT_NEVER_ACTIVEAccount was never activated by the customerN
ACCOUNT_NOT_DESIREDA credit account was created for a customer, but the customer did not accept the accountN
ACTIVATED_NOT_DISBURSEDA credit account was created for the customer, but the funds have not been paid out or usedN
ACTIVE_OR_DISBURSEDThe account is active and transactableY
APPLICATION_SUBMITTEDDeprecated statusN
AWAITING_FIXINGAccount is awaiting fixingN
CHARGED_OFFThe account has been charged off and is closedN
CLOSEDAccounts must be zeroed out before being closed. Closed accounts cannot transactN
DELINQUENTSynctera will update a credit account to delinquent if the customer has not paid within their expected billing cycleN
FAILED_KYCWe were unable to verify the identity of the account holder: they have not passed know-your-customer (KYC) checksN
IN_CLOSINGThe account is in the process of being closed. An account with the IN_CLOSING status may only be updated to CLOSED. Updates to other statuses are prohibited.N
RESTRICTEDSynctera will update accounts to restricted of the account holder has not successfully passed KYCN
SUSPENDEDAccount has been suspected of fraudulent activity and is blocked from further transactionsN
swift_codestring

SWIFT code

tenantstring

The id of the tenant containing the resource. This is relevant for Fintechs that have multiple workspaces.

Example response

{
  "account_closure": {
    "reason": "BANK_REQUEST_REGULATORY_REASONS",
    "validation_responses": [
      {
        "message": "Cards decoupled from account",
        "name": "cards",
        "validated": true
      }
    ]
  },
  "account_number_masked": "123*****6789",
  "account_purpose": "This account for the account holder's salary deposit.",
  "auto_payment_period": 20,
  "balances": [
    {
      "balance": 2399
    }
  ],
  "billing_period": {
    "start_date": "2022-01-01T00:00:00Z"
  },
  "credit_limit": 2500,
  "currency": "USD",
  "exchange_rate_type": "M, INTERBANK, CUST",
  "spend_control_ids": [
    "7d943c51-e4ff-4e57-9558-08cab6b963c7"
  ],
  "tenant": "abcdef_ghijkl",
  "vendor_info": {
    "vendor_data": {
      "loanpro": {
        "cash_advance_bucket_id": 67890,
        "loc_id": 12345,
        "loc_product_id": 67890,
        "purchases_bucket_id": 12345,
        "tenant_id": "1",
        "daily_archive": {
          "archive_date": "2024-01-15",
          "bucket_interest_rates": [
            {
              "bucket_display_name": "Purchases",
              "bucket_label": "purchase",
              "rate_bps": 1800
            }
          ]
        }
      }
    },
    "vendor_type": "LOANPRO"
  }
}