I am not sure how to markup accepted payment methods for an offer.

Here are the Schema.org types:

Here is my basic example, is this correct?

<div itemscope="" itemtype="http://schema.org/Product">
    <span itemprop="name">Product Name</span>

    <span itemprop="description">Product Description</span>

    <div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
      <span itemprop="price">$19.95</span>
      <meta itemprop="priceCurrency" content="USD" />
      <meta itemprop="availability" content="in_stock" />
      <a href="/buy-now" itemprop="url">Buy Now</a>
      <meta itemprop="acceptedPaymentMethod" content="http://purl.org/goodrelations/v1#PayPal" />
      <meta itemprop="acceptedPaymentMethod" content=" http://purl.org/goodrelations/v1#PaymentMethodCreditCard" />
  • 1
    Did you try this with rich snippets tool and see if the bot was able to correctly identify? Commented Jan 9, 2013 at 14:16
  • Yes I did, it pulls out a list of values. For example acceptedpaymentmethod:purl.org/goodrelations/v1#PayPal
    – Cogslave
    Commented Jan 9, 2013 at 14:36

2 Answers 2


The basic direction is correct, but you must use <link> and href=... instead of meta, since the value is a URL/URI, not a string:

<link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#PayPal" />
<link itemprop="acceptedPaymentMethod" href=" http://purl.org/goodrelations/v1#PaymentMethodCreditCard" />

The rest looks fine at first sight.


About your HTML:

About your Schema.org:

So the example could look like:

<article itemscope="" itemtype="http://schema.org/Product">
  <h1 itemprop="name">Product Name</h1>

  <p itemprop="description">Product Description</p>

  <div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
    $<span itemprop="price">19.95</span>
    <meta itemprop="priceCurrency" content="USD" />
    <link itemprop="availability" href="http://schema.org/InStock" />
    <div itemprop="potentialAction" itemscope="" itemtype="http://schema.org/BuyAction">
      <a itemprop="target" href="/buy-now">Buy Now</a>
    <link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#PayPal" />
    <link itemprop="acceptedPaymentMethod" href="http://purl.org/goodrelations/v1#PaymentMethodCreditCard" />

  • How would he use the BuyAction schema in this example?
    – Scott
    Commented Jul 16, 2017 at 16:00
  • 1
    @Scott: In case you missed it, my example snippet contains BuyAction.
    – unor
    Commented Jul 16, 2017 at 16:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.