Skip to Content
Paycose Docs
Address

Address

The address_place object

A place in a country's directory, such as a Thai province, district or subdistrict.

Attributes

  • idstringRequired

    Unique identifier for the object.

  • objectstringRequired

    String naming the object's type.

  • createdtimestampRequired

    Time the object was created, in Unix seconds.

  • updatedtimestampRequired

    Time the object last changed, in Unix seconds.

  • countrystringRequired

    Two-letter ISO 3166-1 alpha-2 country code, for example TH.

  • levelstringRequired

    Where the place sits, province, district or subdistrict.

  • codestringRequired

    The place's code, unique within its country and level.

  • parentstringRequired

    The code of the place one level up; empty for a province.

  • nameobjectRequired

    The place's name in en and th.

    Show child attributes
    • name.enstringRequired

      The English name.

    • name.thstringRequired

      The Thai name.

  • prefixobjectRequired

    The words that go before the name in this country: เขต or แขวง in Bangkok, อำเภอ or ตำบล elsewhere, in en and th. Empty at the top level.

    Show child attributes
    • prefix.enstringRequired

      The English name.

    • prefix.thstringRequired

      The Thai name.

  • postal_codestringRequired

    The postal code of a subdistrict; empty at other levels.