Ttushe / docs
nsk_test_Operational

Close a customer

A partner may close its own customer. A compliance-suspended customer cannot be reactivated by the partner (ADR-042). ★★★ A customer holding money cannot be closed — 422 CUSTOMER_HAS_BALANCE, naming each account and what is in it. This is NEWLY ENFORCED and it is a behaviour change (see the CHANGELOG for the release): before it, a close over a balance succeeded and stranded the money where no partner-facing route could return it, because closed is terminal and the customer is how you reach an account. An automated offboarding job must now sweep the accounts first and handle the 422 rather than assuming the close always succeeds. Unsettled direct-debit money counts too — the payer’s bank can still pull it back, and the reversal would have nowhere to land. ★ Closing starts the retention clock (ADR-107 D6) and releases the BVN uniqueness slot, so the same person can be onboarded again later as a new customer. ★★★ Closing a customer closes its active accounts (ADR-146). Your own credit into one answers 422 ACCOUNT_CLOSED with no ledger entry written, and starting a new collection or direct-debit pull against it is refused the same way. Money that has ALREADY MOVED still lands — a transfer into their NUBAN, a collection already in flight, a settled direct debit, a payout reversal — because by then the payer has been charged and refusing would leave their money at the bank with no record of it. ★★ A closed account can still be swept (a payout, withdrawal or transfer out), so whatever lands can go back to the customer. It cannot spend — a bill payment or card capture is refused. The sweep passes the ordinary debit gates, so a customer below CBN Tier 1 is still refused KYC_TIER_INSUFFICIENT. ★ A frozen account is left frozen — a compliance hold outranks a close.

POSThttps://api.trytushe.com/v1/customers/{id}/close
POST/v1/customers/{id}/close

Authorization

api-key
x-api-key<token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

{  "status": true,  "statusCode": 200,  "message": "Request processed successfully",  "timestamp": "2026-10-03T16:30:00.000Z",  "path": "/v1/accounts",  "data": {    "id": "018f…",    "type": "individual",    "externalId": "user-123",    "metadata": {},    "kycTier": 1,    "kybStatus": "verified",    "verificationSource": "platform",    "status": "active",    "firstName": "Ada",    "lastName": "Okon",    "email": "[email protected]",    "phone": "+2348012345678",    "legalName": "Acme Cooperative Ltd",    "registrationNumber": "RC1234567",    "profile": {},    "createdAt": "2019-08-24T14:15:22Z"  }}