Files
medusa-store/www/utils/generated/oas-output/schemas/BaseCapture.ts
Shahed Nasser 97b72f4662 oas: [15/n] improve oas schemas (#9216)
Improve OAS schemas [15/n]

Note: validation error will be fixed once #9218 is merged
2024-09-26 13:03:41 +00:00

34 lines
734 B
TypeScript

/**
* @schema BaseCapture
* type: object
* description: The details of a captured payment.
* x-schemaName: BaseCapture
* required:
* - id
* - amount
* - created_at
* - payment
* properties:
* id:
* type: string
* title: id
* description: The payment capture's ID.
* amount:
* type: number
* title: amount
* description: The captured amount.
* created_at:
* type: string
* format: date-time
* title: created_at
* description: The date the capture was created.
* created_by:
* type: string
* title: created_by
* description: The ID of the user that captured the payment.
* payment:
* $ref: "#/components/schemas/BasePayment"
*
*/