CartPaymentMethod
Describes a cart payment method, including type, status, fees, and additional information.
Type Definition
type CartPaymentMethod {
type: String
title: String
status: String
isPaid: Boolean
currency: Currency
info: String
description: String
fee: Float
netFee: Float
tax: Float
paidAmount: Float
rate: Float
ratePercentage: Float
giftCard: GiftCard
metafields: [Metafield]!
metafield: Metafield
}Fields
Relationships
CartPaymentMethod represents payment information within a cart context. It contains a reference to a Currency object that specifies the payment currency, and optionally references a GiftCard object if the payment method is a gift card. The type also includes metafield support for storing custom data associated with the payment method.
Example
{
type
title
status
isPaid
currency {
code
}
fee
netFee
tax
paidAmount
ratePercentage
giftCard {
id
balance
}
metafields(first: 10) {
edges {
node {
namespace
key
value
}
}
}
}Implements
No interfaces are implemented by this type.