Raw
1 type: object
2 description: The refund's details.
3 x-schemaName: BaseRefund
4 required:
5 - id
6 - amount
7 - created_at
8 - payment
9 properties:
10 id:
11 type: string
12 title: id
13 description: The refund's ID.
14 amount:
15 type: number
16 title: amount
17 description: The refund's amount.
18 refund_reason_id:
19 type: string
20 title: refund_reason_id
21 description: The ID of the refund reason.
22 note:
23 type: string
24 title: note
25 description: More details about the refund.
26 created_at:
27 type: string
28 format: date-time
29 title: created_at
30 description: The date the refund was created.
31 created_by:
32 type: string
33 title: created_by
34 description: The ID of the user that created the refund.
35 payment:
36 type: object
37 refund_reason:
38 $ref: ./BaseRefundReason.yaml