PaymentChargeSpecification
PaymentChargeSpecification is a PriceSpecification subtype for charges that depend on how the customer pays: credit-card surcharges, bank-transfer fees, cash-handling fees, buy-now-pay-later fees.
It adds one direct property: appliesToPaymentMethod, whose value is a PaymentMethod enumeration (ByBankTransferInAdvance, ByInvoice, Cash, CheckInAdvance, COD, DirectDebit, PaymentMethodCreditCard, PayPal).
It also inherits the full PriceSpecification property set: price, priceCurrency, eligibleTransactionVolume, and valueAddedTaxIncluded. The most common real-world pattern is "2.9% surcharge for credit-card transactions over $0, waived for bank transfer," which means two PaymentChargeSpecification blocks on the Offer.
Full example of schema.org/PaymentChargeSpecification json-ld markup
The markup is verified as valid with Rich Results Test from Google.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Offer",
"itemOffered": { "@type": "Service", "name": "XooStructured Enterprise annual license" },
"price": 12000.00,
"priceCurrency": "USD",
"priceSpecification": [
{
"@type": "PaymentChargeSpecification",
"price": 348.00,
"priceCurrency": "USD",
"appliesToPaymentMethod": "https://schema.org/PaymentMethodCreditCard",
"description": "2.9% surcharge applied to credit-card payments."
},
{
"@type": "PaymentChargeSpecification",
"price": 0.00,
"priceCurrency": "USD",
"appliesToPaymentMethod": "https://schema.org/ByBankTransferInAdvance",
"description": "No surcharge for bank transfer."
}
]
}
</script>Regulation note
Payment surcharges are regulated in the EU (Payment Services Directive bans most consumer surcharges) and in several US states; publish PaymentChargeSpecification only where your surcharges are legal, and reflect those rules in eligibleRegion on the surrounding Offer.
Minimal valid version
The smallest markup that still produces a valid PaymentChargeSpecification entity. Use it as the floor. Reach for the advanced example above when you want search engines and AI agents to understand more about your content.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "PaymentChargeSpecification",
"price": 348.00,
"priceCurrency": "USD",
"appliesToPaymentMethod": "https://schema.org/PaymentMethodCreditCard"
}
</script>Google rich results this unlocks
Markup matching this example makes your page eligible for the following Google Search rich results. The primary target drives the required / recommended property classification in the advanced code block above.
- Google docsNo dedicated rich result (used by checkout and invoice consumers)
Common PaymentChargeSpecification mistakes
Mistakes that pass validation but silently fail to earn rich results or mislead consumers walking the graph. Avoid these and your markup will be ahead of most sites in the wild.
- 01
Percentage surcharge as raw percent
Wrong"price": "2.9%"RightCalculate the surcharge amount against the Offer price and publish the resolved figure in the Offer's currencyprice expects a Number in priceCurrency; percentage text cannot be aggregated by consumers into a final total.
- 02
appliesToPaymentMethod as free text
Wrong"appliesToPaymentMethod": "credit card"RightThe enumeration URL https://schema.org/PaymentMethodCreditCardFree text bypasses the PaymentMethod enumeration and prevents any downstream matching on card-vs-bank rules.
- 03
Publishing surcharges in jurisdictions where they are illegal
WrongPaymentChargeSpecification visible to EU customers where consumer card surcharges are bannedRightUse eligibleRegion / ineligibleRegion on the Offer to scope the ruleRegulators treat structured-data surcharges as public disclosure; scope them to compliant regions only.
Schema properties in this example
About the example data
Xoo Code's invoicing portal charges a 2.9% credit-card surcharge on enterprise invoices paid by card, waived for bank transfers.
Comments
Loading comments...