Adyen · JSON Structure

Checkout Google Pay Donations Structure

GooglePayDonations schema from Adyen API

Type: object Properties: 7 Required: 1
PaymentsFinancial ServicesFintech

GooglePayDonations is a JSON Structure definition published by Adyen, describing 7 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

checkoutAttemptId fundingSource googlePayCardNetwork googlePayToken recurringDetailReference storedPaymentMethodId type

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/adyen/refs/heads/main/json-structure/checkout-google-pay-donations-structure.json",
  "description": "GooglePayDonations schema from Adyen API",
  "type": "object",
  "properties": {
    "checkoutAttemptId": {
      "x-addedInVersion": "68",
      "description": "The checkout attempt identifier.",
      "type": "string"
    },
    "fundingSource": {
      "description": "The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.",
      "enum": [
        "credit",
        "debit"
      ],
      "type": "string"
    },
    "googlePayCardNetwork": {
      "description": "The selected payment card network. ",
      "type": "string"
    },
    "googlePayToken": {
      "description": "The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response.",
      "type": "string"
    },
    "recurringDetailReference": {
      "deprecated": true,
      "x-deprecatedInVersion": "49",
      "x-deprecatedMessage": "Use `storedPaymentMethodId` instead.",
      "description": "This is the `recurringDetailReference` returned in the response when you created the token.",
      "type": "string"
    },
    "storedPaymentMethodId": {
      "x-addedInVersion": "49",
      "description": "This is the `recurringDetailReference` returned in the response when you created the token.",
      "maxLength": 64,
      "type": "string"
    },
    "type": {
      "default": "googlepay",
      "description": "**googlepay**, **paywithgoogle**",
      "enum": [
        "googlepay"
      ],
      "type": "string"
    }
  },
  "required": [
    "googlePayToken"
  ],
  "additionalProperties": false,
  "name": "GooglePayDonations"
}