{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/checkout-api-billing.json", "title": "billing", "description": "billing from Checkout API", "type": "object", "properties": { "address_1": { "maxLength": 40, "type": "string", "description": "Customer's primary billing address information." }, "address_2": { "maxLength": 40, "type": "string", "description": "Customer's secondary billing address information." }, "address_3": { "maxLength": 40, "type": "string", "description": "Customer's third billing address information." }, "city": { "maxLength": 28, "type": "string", "description": "Customer's city on their billing address." }, "country_code": { "type": "string", "description": "Customer's alpha 2 digit ISO 3166 country code. (e.g. United States = US)" }, "first_name": { "maxLength": 22, "type": "string", "description": "Customer's first name.
**Required** in case that companyName is not provided." }, "middle_name": { "maxLength": 22, "type": "string", "description": "Customer's middle name." }, "last_name": { "maxLength": 22, "type": "string", "description": "Customer's last name.
**Required** in case that companyName is not provided." }, "phone": { "maxLength": 25, "pattern": "^(\\s*[0-9-+().])[0-9-\\s+().]*$", "type": "string", "description": "Customer's phone number for billing address." }, "postal_code": { "maxLength": 10, "type": "string", "description": "Customer's postal code of their billing address.
**Required** if the payment method is PayPal." }, "state": { "maxLength": 35, "type": "string", "description": "Customer's state or province of their billing address. (e,g. Ohio = OH, Texas = TX)" } } }