Billing and Shipping Address Validation

Endpoint

POST
https://sales-internal-api-test-e2.az.3pc.att.com/msapi/salesapi/geo-address-management-papi-test3/v1/address-validation

This operation takes address validation for shipping and billing address and it's provied all address type comma separated types billing,shipping,ppu.it's controls the maximum number of possible matches that are returned in the case of a multiple matches. Default is 10 if this field is not passed on the request

arrowSecurity

http

Enter the username and password here for authorization.
scheme:basic
arrowRequest

The GeographicAddress to be validated

Query Parameters

      Body Parameters

      Responses

      Success

      arrowBody

      application/json

      REQUEST

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      curl --request POST \
           --url 'https://sales-internal-api-test-e2.az.3pc.att.com/msapi/salesapi/geo-address-management-papi-test3/v1/address-validation?addressType=string&maximumAlternativeAddresses=integer' \
           --header 'accept: application/json;charset=utf-8' \
           --header 'content-type: application/json;charset=utf-8' \
           --data '
      {
        "geographicAddress": {
          "postcode": "98021",
          "stateOrProvince": "WA",
          "addressCharacteristic": [
            {
              "name": "addressLine1",
              "value": "23114 38th Ave SE"
            }
          ]
        },
        "cartCharacteristic": [
          {
            "name": "category",
            "value": "WBB"
          }
        ],
        "channel": {
          "id": "12345",
          "name": "SelfService"
        }
      }
      '

      RESPONSE

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      {
        "validationResult": "success",
        "validGeographicAddress": {
          "city": "CHULA VISTA",
          "stateOrProvince": "CA",
          "postcode": "91911",
          "addressCharacteristic": [
            {
              "name": "addressLine1",
              "value": "23114 38th Ave SE"
            }
          ]
        },
        "validationTypeRecommendation": [
          [
            {
              "validationType": "BILLING",
              "validationRecommendation": "ACCEPT"
            },
            {
              "validationType": "SHIPPING",
              "validationRecommendation": "STOP"
            }
          ]
        ]
      }