---
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}`

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

## Path parameters

- `accountId` integer, 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](https://developers.pismo.io/pismo-docs/reference/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` string — Processing code for the debit transaction. If `split_transaction` is `false` (the default), each installment payment is recorded as one debit transaction equal to the installment amount minus the discount, and `processing_code` is the processing code for that transaction. If `split_transaction` is `true`, each installment payment is recorded as two transactions: a debit transaction for the installment amount and a credit transaction for the discount. In this case, `processing_code` is the processsing code for the debit transaction, and `second_processing_code` is the processing code for the credit transaction.
    - `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](https://developers.pismo.io/pismo-docs/reference/get-started-with-pismo-apis).

## Other responses

- `400` — Bad request
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/pismo/apis/platform-authentication.md) · [All operations](https://skmtc.net/pismo/apis/platform-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pismo/platform-authentication/revisions/935b62e16de4/schema)
