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

# Acordă credit utilizatorului

> Cere URL și parametrii pentru Da credit pentru funcționarea utilizatorului.

```http theme={"theme":"css-variables"}
POST /Files/Controllers/ControllersAll.php?main=Credits&container=CreditsGiveController
```

[Loading Credit](https://docs.zonely.gen.tr/ro/developers/modules/loading-credit)


## OpenAPI

````yaml api-specs/credits-creditsgivecontroller.json POST /Files/Controllers/ControllersAll.php
openapi: 3.1.0
info:
  title: Kullanıcıya kredi ver
  version: '2026-10-27'
  description: Kullanıcıya kredi ver işleminin istek ve yanıt alanları.
servers:
  - url: https://example.com
    description: Örnek alan adı — kendi Zonely kurulumunuzla değiştirin
security: []
paths:
  /Files/Controllers/ControllersAll.php:
    post:
      summary: Kullanıcıya kredi ver
      description: >-
        Bu işlem kullanıcının bakiyesini değiştirir. Demo/test hesabı dışında
        örnekleri çalıştırma.
      operationId: Credits_CreditsGiveController
      parameters:
        - name: main
          in: query
          required: true
          schema:
            type: string
            enum:
              - Credits
            default: Credits
          example: Credits
          description: Bu işlemin modülü.
        - name: container
          in: query
          required: true
          schema:
            type: string
            enum:
              - CreditsGiveController
            default: CreditsGiveController
          example: CreditsGiveController
          description: Modülle birlikte gönderilecek işlem adı.
      requestBody:
        required: true
        description: İstek alanı.
        content:
          multipart/form-data:
            schema:
              title: Kullanıcıya kredi ver
              type: object
              properties:
                user:
                  type: string
                  description: Kullanıcı kimliği
                price:
                  type: string
                  description: Verilecek kredi tutarı
                earnings:
                  type: string
                  description: Kazanç olarak işaretleme seçeneği
                api:
                  type: string
                  description: Ödeme geçidi kimliği
                type:
                  type: string
                  description: Arayüzde kredi kartı yöntem değeri
              required: []
              additionalProperties: true
              examples:
                - user: '23'
                  price: '10.00'
                  type: '2'
                  giveCredit: OTURUM_FORMUNUN_CSRF_DEGERI
      responses:
        '200':
          description: İşlem controller'ının yanıtı.
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '302':
          description: Oturum veya güvenlik katmanı yönlendirmesi olabilir.
        '401':
          description: Oturum doğrulaması gerekli olabilir.
        '403':
          description: İstek alanı.
      security:
        - {}
        - ApiKey: []
      x-codeSamples:
        - lang: bash
          label: cURL
          source: |-
            curl --request POST \
              --url "https://siteadresiniz.example/Files/Controllers/ControllersAll.php?main=Credits&container=CreditsGiveController" \
              --header "X-API-Key: $ZONELY_API_KEY" \
              --form 'user=ALAN_DEGERI' \
              --form 'price=ALAN_DEGERI' \
              --form 'earnings=ALAN_DEGERI' \
              --form 'api=ALAN_DEGERI' \
              --form 'type=ALAN_DEGERI'
components:
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: Yönetim panelindeki API anahtarınız.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.