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

# Create new Stripe payment intent



## OpenAPI

````yaml api-reference/openapi.json get /api/farmer/order/{id}/payment-intent
openapi: 3.0.1
info:
  title: OpenAPI definition
  version: v0
servers:
  - url: https://localhost:8080
    description: Generated server url
security: []
paths:
  /api/farmer/order/{id}/payment-intent:
    get:
      tags:
        - Order
      summary: Create new Stripe payment intent
      operationId: paymentIntent
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PaymentIntentDTO'
components:
  schemas:
    PaymentIntentDTO:
      type: object
      properties:
        clientSecret:
          type: string
        dpmCheckerLink:
          type: string

````