---
title: "Attach overdraft product to program"
method: POST
path: "/v1/overdraft/programs/{programId}/attach"
tags: ["Program"]
---

# Attach overdraft product to program

`POST /v1/overdraft/programs/{programId}/attach`

## Request

- Base URL: `https://sandbox.pismolabs.io/overdraft`
- URL: `https://sandbox.pismolabs.io/overdraft/v1/overdraft/programs/{programId}/attach`
- Auth: HTTP bearer

Attach an overdraft product to a program.<br>
This endpoint generates an [Overdraft program attached](https://developers.pismo.io/events/docs/overdraft-product-program-attach-1) event.

## Path parameters

- `programId` string, required

## Request body

- ProductAttachRequest
  - `product_id` string, uuid, required: Overdraft product ID
  - `metadata` object: Additional details about the overdraft product. The information must be in `key:value` pair format. For example, `name:<your_name>`.<br> `minLength` = `0` `maxLength` = `1024`<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](ref:get-started-with-pismo-apis).

## Response `204`

Product attached successfully

## Other responses

- `400`: Bad request
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `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)
