v1

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

Update payout account for savings account

Update the payout account configuration for an attached savings account. The payout account specifies where interest payments are sent.

patch/v1/savings-accounts/accounts/{accountId}

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

Example request

{
  "payout_account": {
    "label": "My payout account",
    "type": "INTERNAL",
    "internal_account_id": 123456,
    "external_account": {
      "key": "value"
    }
  }
}

Response

Payout account updated successfully

updated_atstring date-time

The date and time when the payout account was updated

Example response

{
  "payout_account": {
    "label": "My payout account",
    "type": "INTERNAL",
    "internal_account_id": 123456,
    "external_account": {
      "key": "value"
    }
  },
  "updated_at": "2024-01-23T13:26:25.000Z"
}