Close subledger
Relevant webhooks
For this endpoint be sure you have registered for this webhook:
API reference
Closes a specific subledger (subaccount).
The subaccount's current and available balance must be 0 to be eligible for closing
Endpoint: /core/v1/dda/subaccounts/{accountNumber}
DELETE
https://sandbox.crbcos.com/core/v1/dda/subaccounts/{accountNumber}
curl --location --request DELETE 'https://sandbox.crbcos.com/core/v1/dda/subaccounts/341748805478' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>' \
--data '
'