---
title: "Create overdraft product"
method: POST
path: "/v1/overdraft"
tags: ["Product"]
---

# Create overdraft product

`POST /v1/overdraft`

## Request

- Base URL: `https://sandbox.pismolabs.io/overdraft`
- URL: `https://sandbox.pismolabs.io/overdraft/v1/overdraft`
- Auth: HTTP bearer

Create a new overdraft product.<br>
The overdraft API enables a bank to set an overdraft limit for an account when the balance is insufficient. For details, refer to [How overdraft works](doc:how-overdraft-works).<br>
This endpoint generates an [Overdraft product created](https://developers.pismo.io/events/docs/overdraft-product-creation-1) event.

## Request body

- CreateProductRequest
  - `name` string, required: Overdraft product name. This name is defined by the client.
  - `interest_plan_id` string, uuid, required: Interest plan ID generated during the plan's creation. Created via the [Create interest plan](ref:post-v1-interest-plan) endpoint.
  - `processing_code` ProcessingCode, required
    - `interest_processing_code` string, required: Processing code for interest calculation
  - `grace_period` integer: Grace period during which you can restore the balance without incurring any interest charges. The unit is measured in days.

## Response `201`

Product created successfully

- Product
  - `product_id` string, uuid: Product ID generated for an overdraft product. Once this ID is created, you must link it to your account ID.
  - `name` string: Produt name
  - `interest_plan_id` string, uuid: Interest plan ID generated during the plan's creation. Created via the [Create interest plan](ref:post-v1-interest-plan-1) endpoint.
  - `grace_period` integer: Grace period during which you can restore the balance without incurring any interest charges. The unit is measured in days.
  - `processing_code` ProcessingCode
    - `interest_processing_code` string, required: Processing code for interest calculation
  - `status` 'CREATED' | 'ACTIVE', enum: Overdraft product status.<br> * `CREATED`: When you successfully created an overdraft product. * `ACTIVE`: When you attach your overdraft product to an account or a program ID. Once it's attached, the product becomes `ACTIVE`.
  - `created_at_datetime` string, date-time: Product created datetime. Format: `YYYY-MM-DDThh:mm:ss.sss`.

## Other responses

- `400`: Bad request
- `404`: Not found
- `422`: Unprocessable entity
- `500`: Internal server error

---

[API](https://skmtc.dev/pismo/apis/banking-overdraft.md) - [All operations](https://skmtc.dev/pismo/apis/banking-overdraft/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/banking-overdraft/revisions/be6a207ac7ff?raw)
