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.
{
"$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"
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.