> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve file on a bundle or application

> Retrieve a specific type of file on a bundle or application.

GET/credit/applications/files/\{type}

Retrieve a specific type of file on a bundle or application.

## URL path parameters

| Name | Type | Required? | Description | Allowable Values |
| - | - | - | - | - |
| type | string | Required | The type of file to retrieve. **`SOCT` - The Summary of Credit Terms (SOCT), which outlines the interest rates, interest charges, and fees associated with the credit account being offered to the user.**`REWARDS_DISCLOSURE_PRE_TERMS` - The Rewards Disclosure Pre-terms, which discloses detailed information about the rewards program on the credit account being offered to the user before a decision is rendered on their application. **`REWARDS_DISCLOSURE_POST_TERMS` - The Rewards Disclosure Post-terms, which discloses detailed information about the rewards program on the user's credit account if their application is approved.**`BENEFITS_DISCLOSURE` - The Benefits Disclosure, which which is given to a user if their application is approved and discloses detailed information about the benefits on the user's credit account. **`CARD_MEMBER_AGREEMENT` - The Card Member Agreement, which specifies the terms and conditions of the user's credit account, including the interest rates, interest charges, fees, minimum payment calculations, and more.**`PRIVACY_POLICY` - The Privacy Policy, which explains how the information on the user's application is collected, handled, and processed. **`E_DISCLOSURE` - The eDisclosure, which states that the user has agreed to receive disclosures electronically.**`TERMS_SCHEDULE` - The Terms Schedule, which is given to a user if their application is approved and specifies the interest rate details on the user's credit account. \* `NOAA` - The Notice of Adverse Action (NOAA), which is given to a user if their application is declined and informs them of the specific reasons why they were denied a credit account. | `SOCT`, `REWARDS_DISCLOSURE_PRE_TERMS`, `REWARDS_DISCLOSURE_POST_TERMS`, `BENEFITS_DISCLOSURE`, `CARD_MEMBER_AGREEMENT`, `PRIVACY_POLICY`, `E_DISCLOSURE`, `TERMS_SCHEDULE`, `NOAA` |

## URL query parameters

| Name | Type | Required? | Description | Allowable Values |
| - | - | - | - | - |
| bundle\_token | string | Optional | Unique identifier of the bundle on which you want to retrieve a file. Required if retrieving one of the following file types: **`CARD_MEMBER_AGREEMENT`**`E_DISCLOSURE`**`PRIVACY_POLICY`**`REWARDS_DISCLOSURE_PRE_TERMS`**`REWARDS_DISCLOSURE_POST_TERMS`**`SOCT` | Existing bundle token |
| application\_token | string | Optional | Unique identifier of the application on which you want to retrieve a file. Required if retrieving one of the following files: **`BENEFITS_DISCLOSURE`**`NOAA` \* `TERMS_SCHEDULE` | Existing application token |

## Response body

| Name | Type | Required? | Description | Allowable Values |
| - | - | - | - | - |
| file\_type | string | Returned | Type of file. **`SOCT` - The Summary of Credit Terms (SOCT), which outlines the interest rates, interest charges, and fees associated with the credit account being offered to the user.**`REWARDS_DISCLOSURE_PRE_TERMS` - The Rewards Disclosure Pre-terms, which discloses detailed information about the rewards program on the credit account being offered to the user before a decision is rendered on their application. **`REWARDS_DISCLOSURE_POST_TERMS` - The Rewards Disclosure Post-terms, which discloses detailed information about the rewards program on the user's credit account if their application is approved.**`BENEFITS_DISCLOSURE` - The Benefits Disclosure, which which is given to a user if their application is approved and discloses detailed information about the benefits on the user's credit account. **`CARD_MEMBER_AGREEMENT` - The Card Member Agreement, which specifies the terms and conditions of the user's credit account, including the interest rates, interest charges, fees, minimum payment calculations, and more.**`PRIVACY_POLICY` - The Privacy Policy, which explains how the information on the user's application is collected, handled, and processed. **`E_DISCLOSURE` - The eDisclosure, which states that the user has agreed to receive disclosures electronically.**`TERMS_SCHEDULE` - The Terms Schedule, which is given to a user if their application is approved and specifies the interest rate details on the user's credit account. \* `NOAA` - The Notice of Adverse Action (NOAA), which is given to a user if their application is declined and informs them of the specific reasons why they were denied a credit account. | `SOCT`, `REWARDS_DISCLOSURE_PRE_TERMS`, `REWARDS_DISCLOSURE_POST_TERMS`, `BENEFITS_DISCLOSURE`, `CARD_MEMBER_AGREEMENT`, `PRIVACY_POLICY`, `E_DISCLOSURE`, `TERMS_SCHEDULE`, `NOAA` |
| links | object | Returned | Contains links to the file in different formats. | Existing `links` object |
| links.**json** | string | Conditionally returned | Link to the JSON version of the file. | A valid URL |
| links.**html** | string | Conditionally returned | Link to the HTML version of the file. | A valid URL |
| links.**pdf** | string | Conditionally returned | Link to the PDF version of the file. | A valid URL |
| tracking\_token | string | Conditionally returned | Unique identifier used to acknowledge that the file has been disclosed to the applicant. If the file was already disclosed, a null value is returned. **NOTE**: The tracking token is only valid for 14 calendar days. | 255 char max |

## Sample response body

```json JSON lines wrap theme={null}
{
  "file_type": "NOAA",
  "links": {
    "json": "https://url.com/link_to_json_file",
    "html": "https://url.com/link_to_html_file",
    "pdf": "https://url.com/link_to_pdf_file"
  },
  "tracking_token": "tracking_token_Cf7xNsl6vGtHn%2BcTH96zdf"
}
```


## Related topics

- [Applications Overview](https://www.marqeta.com/docs/core-api/credit-applications.md)
- [List files on a bundle or application](https://www.marqeta.com/docs/core-api/credit-applications/list-files-on-bundle.md)
- [Retrieve bundle](https://www.marqeta.com/docs/core-api/credit-bundles/retrieve-bundle.md)
- [About Credit Accounts](https://www.marqeta.com/docs/developer-guides/about-credit-accounts.md)
- [Create application](https://www.marqeta.com/docs/core-api/credit-applications/create-application.md)
