> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Order Transactions # Type: Order Transactions Object # Link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/orders/order-transactions/order-transactions-object.md ## Description: A record of all payments and refunds associated with an order. Use order transactions to track payment status, add payment records, process refunds, and monitor chargebacks. ## Schema: ```json Type: Order Transactions Object | type: OrderTransactions Description: A record of all payments and refunds associated with an order. Use order transactions to track payment status, add payment records, process refunds, and monitor chargebacks. - name: orderId | type: string | description: Order ID. - name: payments | type: Array | description: Record of payments made to the merchant. - name: id | type: string | description: Payment ID. - name: value | type: string | description: - name: createdDate | type: string | description: Date and time the payment was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: updatedDate | type: string | description: Date and time the payment was last updated in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. - name: amount | type: Price | description: Payment amount. - name: amount | type: string | description: Amount. - name: formattedAmount | type: string | description: Amount formatted with currency symbol. - name: refundDisabled | type: boolean | description: Whether refunds for this payment are disabled. + `true`: This payment is not refundable. + `false`: This payment may be refunded. However, this ultimately depends on the payment provider. - name: refunds | type: Array | description: Record of refunds made to the buyer. - name: id | type: string | description: Refund ID. - name: transactions | type: Array | description: List of transactions. - name: paymentId | type: string | description: ID of the payment associated with this refund. - name: amount | type: Price | description: Refund amount. - name: refundStatus | type: string | description: Refund status. - name: refundStatusInfo | type: RefundStatusInfo | description: Optional details of current refund status. - name: gatewayRefundId | type: string | description: Payment gateway's refund ID. This field is only returned when the value of `external_refund` is `false`. - name: providerRefundId | type: string | description: ID of the refund in the payment provider's system. For example, at PayPal, Square, Stripe, etc. Not returned for external refunds. - name: externalRefund | type: boolean | description: Whether refund was made externally and manually on the payment provider's side. - name: details | type: RefundDetails | description: Refund business details. - name: items | type: Array | description: Order line item IDs and quantities that were refunded. - name: shippingIncluded | type: boolean | description: Whether the shipping fee was also refunded. - name: reason | type: string | description: Reason for the refund, provided by customer (optional). - name: lineItems | type: Array | description: Line items that were refunded. - name: additionalFees | type: Array | description: Additional fees that were refunded. - name: shipping | type: ShippingRefund | description: Shipping amount that was refunded. - name: createdDate | type: string | description: Date and time the refund was created in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601#Combined_date_and_time_representations) format. Defaults to current time when not provided. - name: summary | type: AggregatedRefundSummary | description: Aggregated refund summary. - name: requestedRefund | type: Price | description: Total amount requested for refund. - name: pendingRefund | type: Price | description: Pending refund amount - the portion of `requestedRefund` that is still pending. - name: refunded | type: Price | description: Refunded amount - the portion of `requestedRefund` that refunded successfully. - name: failedRefundAmount | type: Price | description: Failed refund amount - the portion of `requestedRefund` that failed. - name: pending | type: boolean | description: Whether at least one refund transaction is still in `"PENDING"` status. - name: breakdown | type: RefundItemsBreakdown | description: Breakdown of refunded items. Available only after refund is complete. - name: requestingServiceAppId | type: string | description: ID of the app that initiated this refund. ```