---
title: "Get overdraft product details for an account"
method: GET
path: "/v1/overdraft/attachments/accounts/{accountId}"
tags: ["Account"]
---

# Get overdraft product details for an account

`GET /v1/overdraft/attachments/accounts/{accountId}`

## Request

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

Get the details of an overdraft product attached to an account.

## Path parameters

- `accountId` string, required

## Headers

- `AuthorizationToken` string, required
- `x-account-id` integer, required

## Response `200`

Get attachment details successful

- AccountAttachment
  - `account_id` integer: Pismo account ID
  - `attach_datetime` string, date-time: Datetime when the product was attached to the account. Format: `YYYY-MM-DDThh:mm:ss.sss`.
  - `status` string: Status of the product attachment
  - `overdraft` 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`.
  - `metadata` object: Additional details about the product attachment. 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).

## Other responses

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