--- title: PaymentDetails - Customer API description: Payment details related to a transaction. api_version: 2026-04 api_name: customer type: union api_type: graphql source_url: html: 'https://shopify.dev/docs/api/customer/latest/unions/PaymentDetails' md: 'https://shopify.dev/docs/api/customer/latest/unions/PaymentDetails.md' --- # Payment​Details union Payment details related to a transaction. ## Fields with this union * [Order​Transaction.paymentDetails](https://shopify.dev/docs/api/customer/latest/objects/OrderTransaction#field-OrderTransaction.fields.paymentDetails) OBJECT A payment transaction within an order context. *** ```graphql union PaymentDetails = CardPaymentDetails ```