Files
medusa-store/www/apps/resources/references/modules/payment_models/page.mdx
github-actions[bot] dc94e62a6a chore(docs): Generated References (automated) (#11395)
Generated the following references:
- `api_key`
- `auth`
- `cart`
- `core_flows`
- `currency`
- `customer`
- `fulfillment`
- `inventory_next`
- `js_sdk`
- `medusa`
- `medusa_config`
- `modules`
- `modules_sdk`
- `notification`
- `order`
- `payment`
- `payment_models`
- `payment_provider`
- `pricing`
- `product`
- `promotion`
- `region`
- `sales_channel`
- `stock_location_next`
- `store`
- `tax`
- `types`
- `user`
- `utils`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-02-11 12:02:30 +00:00

36 lines
1.3 KiB
Plaintext

---
displayed_sidebar: paymentModelReference
slug: /references/payment/models
---
import { TypeList } from "docs-ui"
# Payment Module Data Models Reference
This documentation provides a reference to the data models in the Payment Module
## Relations Overview
```mermaid
erDiagram
Payment ||--|| Refund : refunds
Payment ||--|| Capture : captures
PaymentCollection }|--|{ PaymentProvider : payment_providers
PaymentCollection ||--|| PaymentSession : payment_sessions
PaymentCollection ||--|| Payment : payments
PaymentSession ||--|| Payment : payment
RefundReason ||--|| Refund : refunds
```
## Data Models
- [AccountHolder](../../payment_models/variables/payment_models.AccountHolder/page.mdx)
- [Capture](../../payment_models/variables/payment_models.Capture/page.mdx)
- [Payment](../../payment_models/variables/payment_models.Payment/page.mdx)
- [PaymentCollection](../../payment_models/variables/payment_models.PaymentCollection/page.mdx)
- [PaymentProvider](../../payment_models/variables/payment_models.PaymentProvider/page.mdx)
- [PaymentSession](../../payment_models/variables/payment_models.PaymentSession/page.mdx)
- [Refund](../../payment_models/variables/payment_models.Refund/page.mdx)
- [RefundReason](../../payment_models/variables/payment_models.RefundReason/page.mdx)