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

# Disbursement execute



## OpenAPI

````yaml POST /disbursement/execute
openapi: 3.1.0
info:
  title: Mysoleas API
  version: 3.0.0
  description: >-
    Nouvelle architecture Mysoleas: gateway de paiement et authentification
    OAuth 2.0.
servers:
  - url: https://api.mysoleas.com
    description: Gateway Mysoleas
  - url: https://account.mysoleas.com
    description: Authentification Mysoleas
security:
  - bearerAuth: []
tags:
  - name: Auth
  - name: Plugin
  - name: Payment links
  - name: Subscriptions
  - name: Collections
  - name: Disbursements
  - name: Catalog
paths:
  /disbursement/execute:
    post:
      tags:
        - Disbursements
      summary: Executer un disbursement
      requestBody:
        $ref: '#/components/requestBodies/PaymentExecution'
      responses:
        '200':
          $ref: '#/components/responses/TransactionSuccess'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  requestBodies:
    PaymentExecution:
      required: true
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PaymentExecutionRequest'
  responses:
    TransactionSuccess:
      description: Transaction retournee
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/TransactionApiResponse'
    NotFound:
      description: Ressource introuvable
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    PaymentExecutionRequest:
      type: object
      required:
        - transaction_reference
        - invoice_reference
      properties:
        transaction_reference:
          type: string
          example: TRX-20260728-000001
        invoice_reference:
          type: string
          example: INV-100045
        otp:
          type: integer
          example: 123456
    TransactionApiResponse:
      allOf:
        - $ref: '#/components/schemas/ApiResponseBase'
        - type: object
          properties:
            data:
              $ref: '#/components/schemas/Transaction'
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        code:
          type: integer
          example: 400
        message:
          type: string
          example: empty_data
        error:
          type: object
          properties:
            details:
              type:
                - object
                - array
                - string
                - 'null'
    ApiResponseBase:
      type: object
      properties:
        code:
          type: integer
          example: 200
        success:
          type: boolean
          example: true
        locale:
          type: string
          example: fr
        message:
          type: string
        meta:
          type: object
          additionalProperties: true
    Transaction:
      type: object
      properties:
        transaction_reference:
          type: string
        environment:
          type: string
          example: prod
        invoice_reference:
          type: string
        provider_reference:
          type: string
        status:
          $ref: '#/components/schemas/TransactionStatus'
        operation:
          type: string
          enum:
            - COLLECTION
            - DISBURSEMENT
        channel:
          type: string
          enum:
            - PROVIDER
            - WALLET
        amount:
          type: integer
        currency:
          type: string
        confirmation_method:
          type: string
          enum:
            - MSISDN
            - LINK
            - QRCODE
            - null
        confirmation_url:
          type:
            - string
            - 'null'
        fee:
          type: integer
        required_total:
          type: integer
        settlement_mode:
          type: string
          enum:
            - DIRECT
            - SPLIT
        split_reference:
          type: string
        split_status:
          type: string
          enum:
            - NONE
            - PENDING
            - PROCESSING
            - SUCCESS
            - PARTIAL_SUCCESS
            - FAILED
        created_at:
          type: string
        updated_at:
          type: string
    TransactionStatus:
      type: string
      enum:
        - INITIATED
        - PENDING
        - SUBMITTED
        - PROCESSING
        - SUCCESS
        - COMPLETED
        - FAILED
        - CANCELLED
        - REFUNDED
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````