---
title: "Add Credit"
method: POST
path: "/api/v1/divisions/customers/aws/credit"
tags: ["MSP Credits"]
---

# Add Credit

`POST /api/v1/divisions/customers/aws/credit`

## Request

- Base URL: `https://api.umbrellacost.io`
- URL: `https://api.umbrellacost.io/api/v1/divisions/customers/aws/credit`
- Auth: none declared. Required headers: `Authorization`, `apikey`

Add credit for customers

## Headers

- `Authorization` string, required
- `apikey` string, required

## Request body

- object
  - `name` string, required: the name of credit
  - `description` string: credit description
  - `divNames` string[], required: customers list that will get the credit
  - `amount` integer, required: credit total amount
  - `monthlyAmountLimit` integer: Optional monthly limit
  - `startDate` string, required: Format "YYYY-MM-DD"
  - `expirationDate` string, required: Format "YYYY-MM-DD"
  - `service` string[], required: Set the services the credit will apply to (see note above)
  - `isExcludeService` boolean, required: set list of service filter as exclude filter
  - `isExcludeAwsMarketplace` boolean, required: To exclude AWS Marketplace services

## Response `200`

- object
  - `id` string
  - `accId` string
  - `name` string
  - `description` string
  - `amount` integer
  - `monthlyAmountLimit` integer
  - `startDate` string
  - `expirationDate` string
  - `service` object
  - `isExcludeService` boolean
  - `isExcludeAwsMarketplace` boolean
  - `amountUsed` integer
  - `divisionName` string

---

[API](https://skmtc.dev/umbrellacost/apis/resellers.md) - [All operations](https://skmtc.dev/umbrellacost/apis/resellers/llms.txt) - [OpenAPI document](https://skmtc.dev/umbrellacost/apis/resellers/revisions/44e920077a79?raw)
