---
title: "Bulk Grant Credit"
method: POST
path: "/v1/users/me/tenant/members/bulk-credit"
tags: ["Users"]
---

# Bulk Grant Credit

`POST /v1/users/me/tenant/members/bulk-credit`

## Request

- Base URL: `https://api.call2me.app`
- URL: `https://api.call2me.app/v1/users/me/tenant/members/bulk-credit`
- Auth: HTTP bearer

Seçili üyelere aynı tutarda kredi verir.

Üye üye ilerliyor ve her transfer KENDİ transaction'ında: biri başarısız
olursa (bakiye tükendi, üye silindi) diğerleri geri alınmaz. Tersi daha
kötü olurdu — 30 üyenin 29'una kredi verip son birinde hepsini iptal etmek.
Sonuç raporunda kaç tanesinin geçtiği dönüyor.

Toplam ÖNCE kontrol ediliyor: yarısına verip bakiyesiz kalmak, bayiyi
"kime verdim kime vermedim" durumunda bırakırdı.

## Request body

- TenantBulkCreditRequest: Birden fazla üyeye aynı tutarda kredi.
  - `member_ids` string[], required
  - `amount_usd` union, required
    - number
    - string
  - `note` string, nullable

## Response `200`

Successful Response

- TenantBulkCreditResult
  - `granted` integer
  - `failed` integer
  - `total_usd` string
  - `errors` string[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/call2me/apis/call2me-api.md) · [All operations](https://skmtc.dev/call2me/apis/call2me-api/llms.txt) · [OpenAPI document](https://skmtc.dev/call2me/apis/call2me-api/revisions/3951f9b7e47d?raw)
