AfterpayDetails 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-afterpay-details-structure.json",
"description": "AfterpayDetails schema from Adyen API",
"type": "object",
"properties": {
"billingAddress": {
"description": "The address where to send the invoice.",
"type": "string"
},
"checkoutAttemptId": {
"x-addedInVersion": "68",
"description": "The checkout attempt identifier.",
"type": "string"
},
"deliveryAddress": {
"description": "The address where the goods should be delivered.",
"type": "string"
},
"personalDetails": {
"description": "Shopper name, date of birth, phone number, and email address.",
"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": "afterpay_default",
"description": "**afterpay_default**",
"enum": [
"afterpay_default",
"afterpaytouch",
"afterpay_b2b",
"clearpay"
],
"type": "string"
}
},
"required": [
"type"
],
"additionalProperties": false,
"name": "AfterpayDetails"
}
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.