{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/AfterpayDetails", "title": "Afterpay", "additionalProperties": false, "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" ], "type": "object" }