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

# Post adminfinancepayouts



## OpenAPI

````yaml /openapi/openapi.yaml post /admin/finance/payouts
openapi: 3.0.3
info:
  title: Golan Sertifikasi API
  version: 1.0.0
  description: >-
    Public REST API for Golan Sertifikasi web and mobile clients. All monetary
    values are integer IDR. Authenticate with Google ID token exchange; use the
    short-lived bearer token returned by the API.
servers:
  - url: /api/v1
security:
  - bearerAuth: []
paths:
  /admin/finance/payouts:
    post:
      tags:
        - Finance
      operationId: requestPlatformProfitPayout
      parameters:
        - name: Idempotency-Key
          in: header
          required: true
          schema:
            type: string
            minLength: 8
            maxLength: 128
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - period_start
                - period_end
                - amount_idr
                - reconciliation_reference
              properties:
                period_start:
                  type: string
                  format: date-time
                period_end:
                  type: string
                  format: date-time
                amount_idr:
                  type: integer
                  format: int64
                  minimum: 1
                reconciliation_reference:
                  type: string
                  minLength: 3
                  maxLength: 200
      responses:
        '202':
          description: >-
            Request reserves reconciled funds and awaits independent checker
            approval.
        '400':
          $ref: '#/components/responses/BadRequest'
        '402':
          description: >-
            Amount exceeds reconciled profit or available cash after liabilities
            and reserve.
        '403':
          $ref: '#/components/responses/Forbidden'
        '503':
          description: >-
            Disabled unless simulation or approved production configuration is
            complete.
components:
  responses:
    BadRequest:
      description: Invalid request body or query parameter.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: Role or resource access denied.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: string
          enum:
            - unauthorized
            - forbidden
            - invalid_google_credential
            - auth_not_configured
            - account_unavailable
            - self_referral
            - not_found
            - tax_policy_unavailable
            - finance_policy_unapproved
            - insufficient_balance
            - wallet_on_hold
            - reservation_pending
            - payment_pending
            - dependency_unavailable
            - payment_unavailable
            - push_unavailable
            - media_unavailable
            - upload_too_large
            - amount_mismatch
            - invalid_status
            - invalid_coupon
            - gateway_request_failed
            - gateway_verification_failed
            - conflict
            - invalid_request
            - idempotency_key_required
            - invalid_idempotency_key
            - internal_error
        message:
          type: string
        request_id:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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