LocationWithTerminal

Location model with additional terminal details

  • account_id
    Type: string · Account Id
    required
  • id
    Type: string · Id
    required
  • name
    Type: string · Name
    required
  • address
    Type: object · Addressnullable
    • city
      Type: string · City
      required
    • state
      Type: string · State
      required
    • street_line1
      Type: string · Street Line1
      required
    • zip
      Type: string · Zip
      required
    • country
      Type: string · Country

      ISO 3166-1 alpha-2 country code.

    • street_line2
      Type: string · Street Line2
  • merchant_name
    Type: string · Merchant Name
  • surcharge_rate
    Type: number | null · Surcharge Rate

    Surcharge percentage (e.g., 3.0 for 3%). Resolved most-specific-first: terminal, then location, then account. A null at the terminal or location level inherits from the level above; a null at the account level disables surcharging.

  • terminal
    Type: object · Terminal