---
updatedAt: 2026-04-22T18:05:56.000Z
agentTools:
  siteIndex: https://developers.pismo.io/llms.txt
  projectIndex: https://developers.pismo.io/pismo-docs/llms.txt
---

# Create savings account product

Create an organization's savings account product. Savings account products accrue interest based on the balance at the time of the interest calculation.<br>
This endpoint generates the [Savings account product created](https://developers.pismo.io/events/docs/savings-account-product-creation-1) event.
For information about interest-bearing accounts, see [Interest-bearing accounts](doc:interest-bearing-accounts).
The interest plan is fetched once and used to resolve or validate `accrual_model` before any resource configuration. Missing, null, or empty values derive the model from the plan. An explicit mismatch returns `HTTP 400 EIBACC0365`. An unknown nonempty plan model or a missing plan object returns `HTTP 500 EIBACC0007`, and errors from the interest plan API are passed through. None of these failures configure resources, persist a product, or publish a creation event.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Banking - Interest-bearing accounts",
    "version": "1.0.0",
    "description": "API for interest-bearing account functionality",
    "contact": {
      "name": "API Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io/savings-products",
      "description": "Sandbox API server for testing"
    }
  ],
  "tags": [
    {
      "name": "Product",
      "description": "Endpoints that manage Interest-bearing accounts products"
    }
  ],
  "components": {
    "schemas": {
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error type code",
            "example": "EIBACC0003"
          },
          "details": {
            "type": "string",
            "description": "Error details",
            "example": "error EIBACC0008: Validation error [(Field 'Order' is invalid)]"
          },
          "message": {
            "description": "Error message",
            "example": "Bad Request",
            "type": "string"
          }
        }
      },
      "CreateSavingsAccountProductRequest": {
        "required": [
          "interest_plan_id",
          "name",
          "processing_codes"
        ],
        "type": "object",
        "properties": {
          "interest_plan_id": {
            "type": "string",
            "description": "Interest rate plan ID. This corresponds to the ID you created using the [Create interest plan version](ref:patch-v1-interest-plan)) endpoint.",
            "example": "263d509a-d5d0-4b3a-b909-ce1b9174beff"
          },
          "name": {
            "type": "string",
            "description": "The product name.",
            "example": "Tax 1 Default"
          },
          "accrual_model": {
            "type": [
              "string",
              "null"
            ],
            "description": "Defines the balance basis for daily interest accrual:\n- `DEPOSIT_BASIS`: Net daily balance change (credits minus debits), determined at the end of the day.\n- `BALANCE_BASIS`: Daily closing balance.\n\nIf not provided (omitted, `null`, or empty string `\"\"`), the value is derived from the interest plan: `BALANCE-CHANGE` → `DEPOSIT_BASIS` or `CLOSING-BALANCE` → `BALANCE_BASIS`. An explicit value must match the plan; otherwise, the request returns a `400` error: `EIBACC0365`.\n\nIf the plan's `interest_base_model` is missing, `null`, or empty, the Pismo platform treats it as `CLOSING-BALANCE`, which produces `BALANCE_BASIS` when the request does not set `accrual_model`.\n",
            "enum": [
              "DEPOSIT_BASIS",
              "BALANCE_BASIS",
              "",
              null
            ],
            "example": "DEPOSIT_BASIS"
          },
          "balance_type": {
            "type": "string",
            "description": "Which balance of the `balance_history` event is submitted when `accrual_model` is `BALANCE_BASIS`. `VALUE_DATED_BALANCE` uses the cleared balance (default). `LEDGER_BALANCE` includes uncleared funds.",
            "enum": [
              "VALUE_DATED_BALANCE",
              "LEDGER_BALANCE"
            ],
            "default": "VALUE_DATED_BALANCE",
            "example": "VALUE_DATED_BALANCE"
          },
          "min_amount": {
            "type": "number",
            "format": "float",
            "description": "Minimum amount for yield. If balance is below this value, yield is not calculated. If no value is provided, any available amount is treated as accrued interest.",
            "example": 1000
          },
          "processing_codes": {
            "$ref": "#/components/schemas/SavingsAccountProcessingCodes"
          },
          "start_date": {
            "type": "string",
            "format": "date",
            "description": "Defines the earliest date from which the product can be attached to an account or program. Attach operations attempted before this date are rejected. Date is displayed in UTC.",
            "example": "2025-11-01"
          },
          "metadata": {
            "type": "object",
            "description": "The metadata object contains user-defined key-value pairs that provide additional context or custom information.<br>\nThe platform has no control over its content, but rather controlled by the user.<br>\n\n**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](ref:get-started-with-pismo-apis#metadata).\n",
            "example": {
              "key": "value"
            }
          }
        }
      },
      "SavingsAccountProcessingCodes": {
        "type": "object",
        "properties": {
          "interest_processing_code": {
            "type": "string",
            "description": "Processing code for interest calculation. <br> If you don't specify a value, the default is `009797`.",
            "example": "009797"
          },
          "detach_processing_code": {
            "type": "string",
            "description": "Processing code for detaching deposit feature from a bank account.<br>\nDetaching means the bank removes the deposit feature from the bank account.\nIf you don't specify a value, the default is `009696`.\n",
            "example": "009696"
          }
        }
      },
      "SavingsAccountProduct": {
        "type": "object",
        "properties": {
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "The moment when a product is created.",
            "example": "2024-01-23T13:26:25.000Z"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "The moment when a product is updated.",
            "example": "2024-01-23T13:26:25.000Z"
          },
          "interest_plan_id": {
            "type": "string",
            "description": "Interest rate plan ID. This corresponds to the ID you created using the [Create interest plan version](ref:patch-v1-interest-plan)) endpoint.",
            "example": "263d509a-d5d0-4b3a-b909-ce1b9174beff"
          },
          "name": {
            "type": "string",
            "description": "The product name.",
            "example": "Tax 1 Default"
          },
          "accrual_model": {
            "type": "string",
            "description": "Interest accrual model configured at the product level and returned in both the creation event and API response.\nWith `DEPOSIT_BASIS`, the Pismo platform calculates accruals based on the net daily balance change (credits minus debits) at the end of each day.\nWith `BALANCE_BASIS`, accruals are calculated using the account's closing balance at the end of the day, regardless of whether any transactions occurred. For example, if an account has a balance of 1000 and no transactions are made during the day, the platform still uses 1000 as the accrual basis.\nAt creation, the interest plan determines the model: `BALANCE-CHANGE` maps to `DEPOSIT_BASIS`, and `CLOSING-BALANCE` maps to `BALANCE_BASIS`.\n",
            "enum": [
              "DEPOSIT_BASIS",
              "BALANCE_BASIS"
            ],
            "example": "DEPOSIT_BASIS"
          },
          "balance_type": {
            "type": "string",
            "description": "Which balance of the `balance_history` event is submitted when `accrual_model` is `BALANCE_BASIS`. `VALUE_DATED_BALANCE` uses the cleared balance (default). `LEDGER_BALANCE` includes uncleared funds.",
            "enum": [
              "VALUE_DATED_BALANCE",
              "LEDGER_BALANCE"
            ],
            "default": "VALUE_DATED_BALANCE",
            "example": "VALUE_DATED_BALANCE"
          },
          "min_amount": {
            "type": "number",
            "format": "float",
            "description": "Minimum amount for yield. If balance is below this value, yield is not calculated. If no value is provided, any available amount is treated as accrued interest.",
            "example": 1000
          },
          "processing_codes": {
            "$ref": "#/components/schemas/SavingsAccountProcessingCodes"
          },
          "product_id": {
            "type": "string",
            "description": "Product identifier.",
            "example": "2c336e9d-d04f-4fd0-8f6e-25808f48d70c"
          },
          "product_type": {
            "type": "string",
            "description": "Product type.",
            "enum": [
              "deposit",
              "savings-account"
            ]
          },
          "status": {
            "description": "Product status",
            "example": "ACTIVE",
            "type": "string",
            "enum": [
              "CREATED",
              "ACTIVE",
              "INACTIVE"
            ]
          },
          "start_date": {
            "type": "string",
            "format": "date",
            "description": "Define the earliest date from which the product can be attached to an account or program. Date is displayed in UTC.",
            "example": "2025-11-01"
          },
          "metadata": {
            "type": "object",
            "description": "The metadata object contains user-defined key-value pairs that provide additional context or custom information.<br>\nMetadata content is not controlled by the Pismo platform and is instead controlled by the user.<br>\n\n**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](ref:get-started-with-pismo-apis#metadata).\n",
            "example": {
              "key": "value"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "400BadRequest": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              ]
            },
            "examples": {
              "invalidRequestBody": {
                "summary": "Bad Request",
                "value": {
                  "code": "EIBACC0008",
                  "message": "Validation error",
                  "details": "error EIBACC0008: Validation error [(Field 'Order' is invalid)]"
                }
              }
            }
          }
        }
      },
      "409Conflict": {
        "description": "Conflict",
        "content": {
          "application/json": {
            "schema": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              ]
            },
            "examples": {
              "conflict": {
                "summary": "Conflict",
                "value": {
                  "code": "EIBACC0114",
                  "message": "Product is already detached"
                }
              },
              "divergentInterestBalanceConfig": {
                "summary": "Interest processing code already has a divergent balance-config",
                "value": {
                  "code": "EIBACC0384",
                  "message": "Interest processing code already has a divergent balance-config",
                  "detail": "balance-config {id}"
                }
              }
            }
          }
        }
      },
      "500InternalServer": {
        "description": "Internal error",
        "content": {
          "application/json": {
            "schema": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              ]
            },
            "examples": {
              "internalProcessingError": {
                "summary": "Internal processing error",
                "value": {
                  "code": "EIBACC0007",
                  "message": "Internal error",
                  "detail": "Internal error"
                }
              }
            }
          }
        }
      }
    }
  },
  "paths": {
    "/v1/savings-accounts": {
      "post": {
        "tags": [
          "Product"
        ],
        "summary": "Create savings account product",
        "description": "Create an organization's savings account product. Savings account products accrue interest based on the balance at the time of the interest calculation.<br>\nThis endpoint generates the [Savings account product created](https://developers.pismo.io/events/docs/savings-account-product-creation-1) event.\nFor information about interest-bearing accounts, see [Interest-bearing accounts](doc:interest-bearing-accounts).\nThe interest plan is fetched once and used to resolve or validate `accrual_model` before any resource configuration. Missing, null, or empty values derive the model from the plan. An explicit mismatch returns `HTTP 400 EIBACC0365`. An unknown nonempty plan model or a missing plan object returns `HTTP 500 EIBACC0007`, and errors from the interest plan API are passed through. None of these failures configure resources, persist a product, or publish a creation event.\n",
        "operationId": "interest-bearing-v1-create-savings-account-product",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSavingsAccountProductRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SavingsAccountProduct"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400BadRequest"
          },
          "409": {
            "$ref": "#/components/responses/409Conflict"
          },
          "500": {
            "$ref": "#/components/responses/500InternalServer"
          }
        }
      }
    }
  },
  "security": [
    {
      "BearerAuth": []
    }
  ]
}
```