Affirm · JSON Structure

Checkout Address Object Structure

A postal address.

Type: object Properties: 6
FintechBNPLLendingPaymentsConsumer

AddressObject is a JSON Structure definition published by Affirm, describing 6 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

line1 line2 city state zipcode country

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

JSON Structure

checkout-address-object-structure.json Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/affirm/refs/heads/main/json-structure/checkout-address-object-structure.json",
  "name": "AddressObject",
  "description": "A postal address.",
  "type": "object",
  "properties": {
    "line1": {
      "type": "string",
      "description": "Primary street address line.",
      "example": "example_value"
    },
    "line2": {
      "type": "string",
      "description": "Secondary address line (apartment, suite, unit, etc.).",
      "example": "example_value"
    },
    "city": {
      "type": "string",
      "description": "City or locality.",
      "example": "example_value"
    },
    "state": {
      "type": "string",
      "description": "State, province, or region code.",
      "example": "example_value"
    },
    "zipcode": {
      "type": "string",
      "description": "Postal or ZIP code.",
      "example": "example_value"
    },
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code.",
      "example": "example_value"
    }
  }
}