💻
Docs
  • Introduction
  • VIRTUAL CARD
    • Page Integration
      • Quick Page Integration
      • Login-free Page Integration
      • About The Sign
      • Explanation of Return Codes
    • API Integration
      • Things Need To Know
      • About The Sign
      • API For Fetching Usable Card Segments
      • API For Retrieve Enumerations Of The States In The United States
      • API For Creating Virtual Card
      • API For Virtual Card Deposit (recharge)
      • API For Obtaining Card Details
      • API For Updating Virtual Card (update cardholder address)
      • API For Card Refund
      • API For Deleting Card
      • API For Querying Order History
      • Successful card opening callback
      • Fail card opening callback (COPY)
      • Risk Control webhook
      • Error Code
  • Physical card
    • Page Integration
      • Page customization
    • API Integration
      • Create Cardholder
      • Modify Cardholder Information
      • Cardholder Document Upload
      • Cardholder Query
      • Bank Card Application
      • Bank Card Application Result Query
      • Bank Card Activation
      • Bank Card Top-up
      • Bank Card Top-up Order Query
      • Bank Card Query
      • Bank Card Transaction Details Query
      • Bank Card Replacement
      • Bank Card Unloss
      • Bank Card Password Retrieval
      • Bank Card Authorized Transaction Details
      • Partner Account Balance Inquiry
      • Partner Top-up Account Information Inquiry
      • Cardholder Audit Result Notification
      • Bank Card Transaction Notification
  • KYC Sharing API
    • Integration Options
    • Signature Description
    • API
      • Submit basic information
      • Upload photo
      • Submit for approval
      • Query Approval Results
      • Approval Results[Webhook]
Powered by GitBook
On this page
  • Description
  • Request URL
  • Request Method
  • Response Parameter
  • Response Example
  1. VIRTUAL CARD
  2. API Integration

API For Retrieve Enumerations Of The States In The United States

Description

Retrieve an enumeration of the states in the United States

Request URL

/open/api/card/enum/us/states

Request Method

GET

Response Parameter

Parameter
Type
Description

code

string

Code of State

value

string

Name of State

Response Example

{
    "success": true,
    "error":false,
    "msg": "success",
    "code": 0,
    "model": [
        {
            "code": "AL",
            "value": "Alabama"
        },
        {
            "code": "AK",
            "value": "Alaska"
        },
        {
            "code": "AZ",
            "value": "Arizona"
        },
        {
            "code": "AR",
            "value": "Arkansas"
        },
        {
            "code": "CA",
            "value": "California"
        },
        {
            "code": "CO",
            "value": "Colorado"
        },
        {
            "code": "CT",
            "value": "Connecticut"
        },
        {
            "code": "DE",
            "value": "Delaware"
        },
        {
            "code": "DC",
            "value": "Washington DC"
        },
        {
            "code": "FL",
            "value": "Florida"
        },
        {
            "code": "GA",
            "value": "Georgia"
        },
        {
            "code": "HI",
            "value": "Hawaii"
        },
        {
            "code": "ID",
            "value": "Idaho"
        },
        {
            "code": "IL",
            "value": "Illinois"
        },
        {
            "code": "IN",
            "value": "Indiana"
        },
        {
            "code": "IA",
            "value": "Iowa"
        },
        {
            "code": "KS",
            "value": "Kansas"
        },
        {
            "code": "KY",
            "value": "Kentucky"
        },
        {
            "code": "LA",
            "value": "Louisiana"
        },
        {
            "code": "ME",
            "value": "Maine"
        },
        {
            "code": "MD",
            "value": "Maryland"
        },
        {
            "code": "MA",
            "value": "Massachusetts"
        },
        {
            "code": "MI",
            "value": "Michigan"
        },
        {
            "code": "MN",
            "value": "Minnesota"
        },
        {
            "code": "MS",
            "value": "Mississippi"
        },
        {
            "code": "MO",
            "value": "Missouri"
        },
        {
            "code": "MT",
            "value": "Montana"
        },
        {
            "code": "NE",
            "value": "Nebraska"
        },
        {
            "code": "NV",
            "value": "Nevada"
        },
        {
            "code": "NH",
            "value": "New Hampshire"
        },
        {
            "code": "NJ",
            "value": "New Jersey"
        },
        {
            "code": "NM",
            "value": "New Mexico"
        },
        {
            "code": "NY",
            "value": "New York"
        },
        {
            "code": "NC",
            "value": "North Carolina"
        },
        {
            "code": "ND",
            "value": "North Dakota"
        },
        {
            "code": "OH",
            "value": "Ohio"
        },
        {
            "code": "OK",
            "value": "Oklahoma"
        },
        {
            "code": "OR",
            "value": "Oregon"
        },
        {
            "code": "PA",
            "value": "Pennsylvania"
        },
        {
            "code": "RI",
            "value": "Rhode Island"
        },
        {
            "code": "SC",
            "value": "South Carolina"
        },
        {
            "code": "SD",
            "value": "South Dakota"
        },
        {
            "code": "TN",
            "value": "Tennessee"
        },
        {
            "code": "TX",
            "value": "Texas"
        },
        {
            "code": "UT",
            "value": "Utah"
        },
        {
            "code": "VT",
            "value": "Vermont"
        },
        {
            "code": "VA",
            "value": "Virginia"
        },
        {
            "code": "WA",
            "value": "Washington"
        },
        {
            "code": "WV",
            "value": "West Virginia"
        },
        {
            "code": "WI",
            "value": "Wisconsin"
        },
        {
            "code": "WY",
            "value": "Wyoming"
        }
    ],
    "traceId": 1644805431313
}

Last updated 1 year ago