Files
medusa-store/www/apps/resources/references/payment/interfaces/payment.CreateRefundDTO/page.mdx
2024-07-01 16:02:36 +03:00

12 lines
840 B
Plaintext

---
displayed_sidebar: paymentReference
---
import { TypeList } from "docs-ui"
# CreateRefundDTO
The refund to be created.
<TypeList types={[{"name":"payment_id","type":"`string`","description":"The associated payment's ID.","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/payment.BigNumberInput/page.mdx)","description":"The amount of the refund.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"created_by","type":"`string`","description":"Who refunded the payment. For example,\na user's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} sectionTitle="CreateRefundDTO"/>