# Address

Object · GraphQL API

Representation of an address.

## Fields

- `company` (`String`): Company name.
- `streetAddress` (`String`) — deprecated since 2020-11-18: The street address.
- `addressLine1` (`String`): The first line of the street address, such as street number, street name.
- `extendedAddress` (`String`) — deprecated since 2020-11-18: Extended address information, such as an apartment or suite number.
- `addressLine2` (`String`): Extended address information, such as an apartment number or suite number.
- `firstName` (`String`) — deprecated since 2020-02-26: First name.
- `lastName` (`String`) — deprecated since 2020-02-26: Last name.
- `fullName` (`String`): Full name.
- `locality` (`String`) — deprecated since 2020-11-18: Locality/city.
- `adminArea2` (`String`): A city, town, or village.
- `region` (`String`) — deprecated since 2020-11-18: State or province.
- `adminArea1` (`String`): Highest level subdivision, such as state, province, or ISO-3166-2 subdivison.
- `postalCode` (`String`): Postal code, otherwise known as CAP, CEP, Eircode, NPA, PIN, PLZ, or ZIP code.
- `countryCode` (`CountryCode`): Country code for the address.
- `phoneNumber` (`String`) — deprecated since 2024-12-17: Phone number.
- `phone` (`Phone`): Phone number.

## Used by

- [CreditCardDetails](/braintree/graphql/reference/types/credit-card-details) — Object; billingAddress
- [PayPalAccountDetails](/braintree/graphql/reference/types/pay-pal-account-details) — Object; billingAddress, shippingAddress
- [Transaction](/braintree/graphql/reference/types/transaction) — Object; billingAddress, merchantAddress
- [TransactionShipping](/braintree/graphql/reference/types/transaction-shipping) — Object; shippingAddress
- [UpdateCreditCardBillingAddressPayload](/braintree/graphql/reference/types/update-credit-card-billing-address-payload) — Object; billingAddress
- [VenmoPayerInfo](/braintree/graphql/reference/types/venmo-payer-info) — Object; billingAddress, shippingAddress

## GraphQL definition

```graphql
type Address {
  company: String
  streetAddress: String @deprecated(reason: "Use `addressLine1` instead.")
  addressLine1: String
  extendedAddress: String @deprecated(reason: "Use `addressLine2` instead.")
  addressLine2: String
  firstName: String @deprecated(reason: "Use `fullName` instead.")
  lastName: String @deprecated(reason: "Use `fullName` instead.")
  fullName: String
  locality: String @deprecated(reason: "Use `adminArea2` instead.")
  adminArea2: String
  region: String @deprecated(reason: "Use `adminArea1` instead.")
  adminArea1: String
  postalCode: String
  countryCode: CountryCode
  phoneNumber: String @deprecated(reason: "Use `phone` instead")
  phone: Phone
}
```

---

[View the complete GraphQL schema on GitHub](https://raw.githubusercontent.com/braintree/graphql-api/refs/heads/master/schema.graphql)