Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/BaseRefund.yaml
github-actions[bot] 21badd069d chore(docs): Updated API Reference (v2) (#9437)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-10-03 07:48:54 +00:00

39 lines
808 B
YAML

type: object
description: The refund's details.
x-schemaName: BaseRefund
required:
- id
- amount
- created_at
- payment
properties:
id:
type: string
title: id
description: The refund's ID.
amount:
type: number
title: amount
description: The refund's amount.
refund_reason_id:
type: string
title: refund_reason_id
description: The ID of the refund reason.
note:
type: string
title: note
description: More details about the refund.
created_at:
type: string
format: date-time
title: created_at
description: The date the refund was created.
created_by:
type: string
title: created_by
description: The ID of the user that created the refund.
payment:
type: object
refund_reason:
$ref: ./RefundReason.yaml