Simulations

Close an operating account

Changed on

Closes an operating (DDA) account. The account must be drained via the drain endpoint first. This endpoint is unavailable in live production.

post/v1/simulations/accounts/{id}/close

Request

  • Base URL
    https://api.augustus.com
  • URL
    https://api.augustus.com/v1/simulations/accounts/{id}/close
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

ID of the account whose lifecycle is being simulated.

Headers

Idempotency-Keystring required

Idempotency key for safe retries. Reusing a key with an identical request body returns the cached response. Reusing a key with a different body returns 409.

Request body

reason'aml_risk_fraud' | 'client_request' required

Reason for closing the account.

Response

The account close simulation acknowledgement

type'account_simulation' required

Resource type discriminator.

account_idstring uuid required

Account whose lifecycle is being simulated.

Changes