Properties
Name | Type | Required | Description |
---|
| businessId | string | ✅ | Identifier of the business associated with the payment |
| createdAt | string | ✅ | Timestamp when the payment was created |
| currency | model | ✅ | |
| customer | model | ✅ | |
| disputes | array | ✅ | List of disputes associated with this payment |
| metadata | dictionary | ✅ | |
| paymentId | string | ✅ | Unique identifier for the payment |
| refunds | array | ✅ | List of refunds issued for this payment |
| totalAmount | integer | ✅ | Total amount charged to the customer including tax, in smallest currency unit (e.g. cents) |
| paymentLink | string | ❌ | Checkout URL |
| paymentMethod | string | ❌ | Payment method used by customer (e.g. "card", "bank_transfer") |
| paymentMethodType | string | ❌ | Specific type of payment method (e.g. "visa", "mastercard") |
| productCart | array | ❌ | List of products purchased in a one-time payment |
| status | model | ❌ | |
| subscriptionId | string | ❌ | Identifier of the subscription if payment is part of a subscription |
| tax | integer | ❌ | Amount of tax collected in smallest currency unit (e.g. cents) |
| updatedAt | string | ❌ | Timestamp when the payment was last updated |