---
title: "Attach overdraft product to account"
method: POST
path: "/v1/overdraft/accounts/{accountId}/attach"
tags: ["Account"]
---

# Attach overdraft product to account

`POST /v1/overdraft/accounts/{accountId}/attach`

## Request

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

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

## Path parameters

- `accountId` string, required

## Headers

- `AuthorizationToken` 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)
