Raw
1 /**
2 * @schema BaseCapture
3 * type: object
4 * description: The details of a captured payment.
5 * x-schemaName: BaseCapture
6 * required:
7 * - id
8 * - amount
9 * - created_at
10 * - payment
11 * properties:
12 * id:
13 * type: string
14 * title: id
15 * description: The payment capture's ID.
16 * amount:
17 * type: number
18 * title: amount
19 * description: The captured amount.
20 * created_at:
21 * type: string
22 * format: date-time
23 * title: created_at
24 * description: The date the capture was created.
25 * created_by:
26 * type: string
27 * title: created_by
28 * description: The ID of the user that captured the payment.
29 * payment:
30 * $ref: "#/components/schemas/BasePayment"
31 *
32 */
33