Apple Pay · Example Payload

Apple Pay Payment Request Example

AppleContactless PaymentsDigital WalletE-CommerceMobile PaymentsPayments

Apple Pay Payment Request Example is an example object payload from Apple Pay, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

countryCodecurrencyCodesupportedNetworksmerchantCapabilitiestotallineItems

Example Payload

Raw ↑
{
  "countryCode": "US",
  "currencyCode": "USD",
  "supportedNetworks": [
    "visa",
    "masterCard",
    "amex"
  ],
  "merchantCapabilities": [
    "supports3DS"
  ],
  "total": {
    "label": "Coffee Shop",
    "amount": "4.99"
  },
  "lineItems": [
    {
      "label": "Flat White",
      "amount": "4.99"
    }
  ]
}