Lokki Payment V2 API

The Payment V2 API from Lokki — 17 operation(s) for payment v2.

Operations 19

GET /v2/payment-v2 #
POST /v2/payment-v2 #
GET /v2/payment-v2/optimized #
GET /v2/payment-v2/{id} #
DELETE /v2/payment-v2/{id} #
POST /v2/payment-v2/bulk #
POST /v2/payment-v2/sendReceipt/{paymentId} #
GET /v2/payment-v2/receipt-url/{paymentId} #
POST /v2/payment-v2/deposit/capture/{id} #
GET /v2/payment-v2/status/{paymentId} #
GET /v2/payment-v2/stripe/subscription/portal/{paymentId} #
GET /v2/payment-v2/stripe/subscription/checkout/{paymentId} #
POST /v2/payment-v2/stripe/payment/checkout/{paymentId} #
POST /v2/payment-v2/stripe/deposit/checkout/{paymentId} #
POST /v2/payment-v2/ancv/payment/checkout/{paymentId} #
GET /v2/payment-v2/ancv/qr-code-payment/status/{paymentId} #
PUT /v2/payment-v2/ancv/regularize-status/{paymentId} #
POST /v2/payment-v2/square/manualSync #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lokki-payment-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lokki-payment-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Lokki Payment V2 API
  description: The main API powering the Lokki Dashboard and Online Store
  version: '2.0'
  contact: {}
servers: []
security:
- x-access-token: []
tags:
- name: Payment V2
paths:
  /v2/payment-v2:
    get:
      operationId: getManyPayments
      parameters:
      - name: skip
        required: false
        in: query
        description: Number of documents to skip
        schema:
          minimum: 0
          default: 0
          type: number
      - name: limit
        required: false
        in: query
        description: Maximum number of documents to return
        schema:
          minimum: 1
          type: number
      - name: sort
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: 'Sort order for the results. Use ''__asc'' or ''__desc'' suffix to specify ascending or descending order respectively. Example: ''name__asc'''
      - name: fields
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Fields to include in the response
      - name: id.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: id.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: id.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: id.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: id.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: id.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: id.contains
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that contain the specified substring
      - name: id.regex
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match the specified regular expression
      - name: createdAt.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: createdAt.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: createdAt.equals
        required: false
        in: query
        description: Filter entries that match a specific date
        schema:
          type: string
      - name: createdAt.notEquals
        required: false
        in: query
        description: Filter entries that do not match a specific date
        schema:
          type: string
      - name: createdAt.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified dates
      - name: createdAt.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified dates
      - name: createdAt.gt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than the specified date
      - name: createdAt.lt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than the specified date
      - name: createdAt.gte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than or equal to the specified date
      - name: createdAt.lte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than or equal to the specified date
      - name: paymentDate.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: paymentDate.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: paymentDate.equals
        required: false
        in: query
        description: Filter entries that match a specific date
        schema:
          type: string
      - name: paymentDate.notEquals
        required: false
        in: query
        description: Filter entries that do not match a specific date
        schema:
          type: string
      - name: paymentDate.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified dates
      - name: paymentDate.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified dates
      - name: paymentDate.gt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than the specified date
      - name: paymentDate.lt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than the specified date
      - name: paymentDate.gte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than or equal to the specified date
      - name: paymentDate.lte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than or equal to the specified date
      - name: captureDate.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: captureDate.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: captureDate.equals
        required: false
        in: query
        description: Filter entries that match a specific date
        schema:
          type: string
      - name: captureDate.notEquals
        required: false
        in: query
        description: Filter entries that do not match a specific date
        schema:
          type: string
      - name: captureDate.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified dates
      - name: captureDate.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified dates
      - name: captureDate.gt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than the specified date
      - name: captureDate.lt
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than the specified date
      - name: captureDate.gte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date greater than or equal to the specified date
      - name: captureDate.lte
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries with a date less than or equal to the specified date
      - name: orderId.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: orderId.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: orderId.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: orderId.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: orderId.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: orderId.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: orderId.contains
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that contain the specified substring
      - name: orderId.regex
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match the specified regular expression
      - name: orderType.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: orderType.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: orderType.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: orderType.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: orderType.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: orderType.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: provider.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: provider.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: provider.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: provider.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: provider.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: provider.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: paymentType.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: paymentType.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: paymentType.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: paymentType.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: paymentType.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: paymentType.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: status.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: status.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: status.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: status.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: status.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: status.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: customerId.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: customerId.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: customerId.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: customerId.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: customerId.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: customerId.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: customerId.contains
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that contain the specified substring
      - name: customerId.regex
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match the specified regular expression
      - name: customerRef__email.isNull
        required: false
        in: query
        description: Filter entries that have the field as null
        schema:
          type: boolean
      - name: customerRef__email.exists
        required: false
        in: query
        description: Filter entries that have the field not null
        schema:
          type: boolean
      - name: customerRef__email.equals
        required: false
        in: query
        description: Filter entries that have a specific value
        schema:
          type: string
      - name: customerRef__email.notEquals
        required: false
        in: query
        description: Filter entries that do not have a specific value
        schema:
          type: string
      - name: customerRef__email.in
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match any of the specified values
      - name: customerRef__email.notIn
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that do not match any of the specified values
      - name: customerRef__email.contains
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that contain the specified substring
      - name: customerRef__email.regex
        required: false
        in: query
        schema:
          oneOf:
          - type: array
            items:
              type: string
          - type: string
        description: Filter entries that match the specified regular expression
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetManyPaymentsResponseDto'
      tags:
      - Payment V2
    post:
      operationId: createPaymentV2
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreatePaymentBodyDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentV2'
      tags:
      - Payment V2
  /v2/payment-v2/optimized:
    get:
      operationId: getPaymentV2Optimized
      parameters:
      - name: captureDate.start
        required: false
        in: query
        schema:
          format: date-time
          type: string
      - name: captureDate.end
        required: false
        in: query
        schema:
          format: date-time
          type: string
      - name: orderIds
        required: false
        in: query
        schema:
          type: array
          items:
            type: string
      - name: status
        required: false
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - CANCELED
            - WAITING
            - PROCESSING
            - REQUIRES_CAPTURE
            - SUCCEEDED
            - FAILED
      - name: orderType
        required: false
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - ORDER_LCD
            - ORDER_LLD
            - ORDER_EVENT
      - name: withPayoutInfo
        required: false
        in: query
        schema:
          type: boolean
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/EnrichedPaymentV2'
      tags:
      - Payment V2
  /v2/payment-v2/{id}:
    get:
      operationId: getPaymentV2
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentV2'
      tags:
      - Payment V2
    delete:
      operationId: deletePaymentV2
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Payment V2
  /v2/payment-v2/bulk:
    post:
      operationId: createManyPaymentV2
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateManyPaymentV2BodyDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PaymentV2'
      tags:
      - Payment V2
  /v2/payment-v2/sendReceipt/{paymentId}:
    post:
      operationId: sendPaymentV2Receipt
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                type: boolean
      tags:
      - Payment V2
  /v2/payment-v2/receipt-url/{paymentId}:
    get:
      operationId: getPaymentReceiptUrl
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
      tags:
      - Payment V2
  /v2/payment-v2/deposit/capture/{id}:
    post:
      operationId: captureDepositPaymentV2
      parameters:
      - name: id
        required: true
        in: path
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CapturePaymentV2DepositDto'
      responses:
        '201':
          description: ''
      tags:
      - Payment V2
  /v2/payment-v2/deposit-link:
    post:
      operationId: createDepositLink
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDepositLinkDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaymentV2'
      tags:
      - Payment V2
  /v2/payment-v2/status/{paymentId}:
    get:
      operationId: getPaymentStatus
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetPaymentStatusResponseDto'
      tags:
      - Payment V2
  /v2/payment-v2/stripe/subscription/portal/{paymentId}:
    get:
      operationId: getStripeSubscriptionPortalSession
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: string
      tags:
      - Payment V2
  /v2/payment-v2/stripe/subscription/checkout/{paymentId}:
    get:
      operationId: getStripeSubscriptionCheckoutSession
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: string
      tags:
      - Payment V2
  /v2/payment-v2/stripe/payment/checkout/{paymentId}:
    post:
      operationId: loadStripePaymentLinkCheckout
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      - name: reload
        required: false
        in: query
        schema:
          type: boolean
      - name: context
        required: false
        in: query
        schema:
          enum:
          - ONLINE_STORE
          - PAYMENT_LINK
          - RENTAL_PLACE
          - LOKKI_TRANSFER
          - OFFLINE
          type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StripePaymentResultDto'
      tags:
      - Payment V2
  /v2/payment-v2/stripe/deposit/checkout/{paymentId}:
    post:
      operationId: loadStripeDepositLinkCheckout
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      - name: reload
        required: false
        in: query
        schema:
          type: boolean
      - name: context
        required: false
        in: query
        schema:
          enum:
          - ONLINE_STORE
          - PAYMENT_LINK
          - RENTAL_PLACE
          - LOKKI_TRANSFER
          - OFFLINE
          type: string
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StripePaymentResultDto'
      tags:
      - Payment V2
  /v2/payment-v2/ancv/payment/checkout/{paymentId}:
    post:
      operationId: loadAncvPaymentLinkCheckout
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      - name: reload
        required: true
        in: query
        schema:
          type: boolean
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AncvConnectPaymentCheckoutDto'
      tags:
      - Payment V2
  /v2/payment-v2/ancv/qr-code-payment/status/{paymentId}:
    get:
      operationId: getAncvQrCodePaymentStatus
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetQrCodePaymentStatusResponseDto'
      tags:
      - Payment V2
  /v2/payment-v2/ancv/regularize-status/{paymentId}:
    put:
      operationId: regularizeAncvPaymentStatus
      parameters:
      - name: paymentId
        required: true
        in: path
        schema:
          type: string
      responses:
        '200':
          description: ''
      tags:
      - Payment V2
  /v2/payment-v2/square/manualSync:
    post:
      operationId: addPaymentToSquareManually
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateSquarePaymentV2Dto'
      responses:
        '201':
          description: ''
      tags:
      - Payment V2
components:
  schemas:
    AncvConnectFees:
      type: object
      properties:
        amountTTC:
          type: number
        amountHT:
          type: number
        tva:
          type: number
      required:
      - amountTTC
      - amountHT
      - tva
    StripePaymentResultDto:
      type: object
      properties:
        clientSecret:
          type: string
        ref:
          type: string
        errorStatus:
          enum:
          - requires_action
          - requires_confirmation
          - requires_payment_method
          type: string
      required:
      - clientSecret
      - ref
    StripePaymentLokkiTransfer:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/StripePaymentLokkiTransferType'
        details:
          oneOf:
          - $ref: '#/components/schemas/StripePaymentLokkiTransferPromoCode'
          allOf:
          - $ref: '#/components/schemas/StripePaymentLokkiTransferPromoCode'
        transferId:
          type: string
      required:
      - type
      - details
      - transferId
    OfflinePayment:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/OfflinePaymentProvider'
        method:
          enum:
          - CARD
          - CASH
          - CHECK
          - CHECK_VACANCES
          - TRANSFER
          - SQUARE_TERMINAL
          - OTHER
          type: string
        refundedPaymentId:
          type: string
        refundReason:
          enum:
          - DUPLICATE
          - FRAUDULENT
          - REQUESTED_BY_CUSTOMER
          - OTHER
          type: string
      required:
      - type
      - method
    CreateStripePaymentBodyDto:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/StripePaymentProvider'
        details:
          oneOf:
          - $ref: '#/components/schemas/CreateStripePaymentPaymentBodyDto'
          - $ref: '#/components/schemas/CreateStripePaymentRefundBodyDto'
          - $ref: '#/components/schemas/CreateStripePaymentLongTermD

# --- truncated at 32 KB (56 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/lokki/refs/heads/main/openapi/lokki-payment-v2-api-openapi.yml