---
title: "Create Credit"
method: POST
path: "/provider/patients/{patient_id}/credits"
tags: ["Credit"]
---

# Create Credit

`POST /provider/patients/{patient_id}/credits`

## Request

- Base URL: `https://api.sandbox.hint.com/api`
- URL: `https://api.sandbox.hint.com/api/provider/patients/{patient_id}/credits`
- Auth: API key in header `AUTHORIZATION`

## Path parameters

- `patient_id` string, required

## Request body

- ProviderCreditsControllerCreateBody
  - `credit_category` Association, required
    - `id` string, required
  - `amount_in_cents` integer, required: Value must be positive
  - `reason` string
  - `integration_record_id` string

## Response `201`

Successful response

- PublicCreditBlueprintOne
  - `id` string
  - `amount_in_cents` integer
  - `balance_in_cents` integer
  - `created_at` string, date-time
  - `integration_record_id` string
  - `reason` string
  - `updated_at` string, date-time
  - `credit_category` PublicCreditCategoryBlueprintMin
    - `id` string
    - `name` string

---

[API](https://skmtc.dev/hint/apis/partner-endpoints.md) - [All operations](https://skmtc.dev/hint/apis/partner-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/hint/apis/partner-endpoints/revisions/c9bda0d2dd87?raw)
