Perform balance validations before account family closure

Before closing an account, the corporate account closure endpoint validates that all balances are zero, which means no limit usage or interest accrued. Otherwise, the platform will deny the account closure. For a corporate account to be closed, its balance and all its children's balances must be 0.

Request

curl --request POST \
    --url https://api-sandbox.pismolabs.io/corporate/accounts/:accountId/close \
    --header 'Accept: application/json'

Response
204 - No content.