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

# Add Credit

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

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.net/umbrellacost/apis/admin.md) · [All operations](https://skmtc.net/umbrellacost/apis/admin/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/umbrellacost/admin/revisions/b0a65610726b/schema)
