v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Account attachment

Detach deposit from account

Detach a time deposit product from an account. This endpoint generates the Account detached event.

post/v1/deposits/accounts/{accountId}/detach

Path parameters

accountIdinteger required

Account ID

Headers

AuthorizationTokenstring required

Account token. Token encoded with a Pismo account ID. Tokens can expire quickly, which can result in a 401 Unauthorized error.

Request body

product_idstring required

Product identifier.

metadataobject

The metadata object contains user-defined key-value pairs that offer additional context or custom information.<br> The platform has no control over its content, but rather controlled by the user.<br>

Note: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to Get started with Pismo APIs.

Example request

{
  "product_id": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c",
  "metadata": {
    "key": "value"
  }
}

Response

Success - No Content