| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- operationId: userPaymentIntent
- summary: Payment Intent
- description: Create the Stripe payment intent for the user
- security:
- - UserAuth: []
- tags: [User]
- requestBody:
- content:
- application/json:
- schema:
- type: object
- required:
- - token_packs
- properties:
- token_packs:
- type: number
- description: Number of token packs for the user to purchase
- minimum: 5
- example: 8
- responses:
- "200":
- description: Payment Intent created
- content:
- application/json:
- schema:
- type: object
- properties:
- client-secret:
- type: string
- description: Client secret string for Stripe
- example: pi_3MtwBwLkdIwHu7ix28a3tqPa_secret_YrKJUKribcBjcG8HVhfZluoGH
- "400":
- $ref: "#/components/responses/400"
- "401":
- $ref: "#/components/responses/401"
- "403":
- $ref: "#/components/responses/403"
- "500":
- $ref: "#/components/responses/500"
|