- JSON representation
- AddressVerificationNotSent
- NotSentAvsSupport
- AddressVerificationSentUnsupported
- AvsNotSupportedReason
- AddressVerificationSentResult
- VerificationResult
The result of verifying the address fields provided in the request.
All fields are required because we want an explicit result for each field rather than relying on the absence of a field as an implied result.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field address_verification_result_type . REQUIRED: The address verification result type. address_verification_result_type can be only one of the following: |
|
notSent |
Google did not send |
sentUnsupported |
Google sent |
result |
Google sent |
AddressVerificationNotSent
Google did not send addressVerificationData
so nothing could be done.
JSON representation |
---|
{
"support": enum ( |
Fields | |
---|---|
support |
REQUIRED: If |
NotSentAvsSupport
If addressVerificationData
had been sent, the following support would have been available.
Enums | |
---|---|
NOT_SENT_AVS_SUPPORT_UNSPECIFIED |
Do not ever set this default value! |
UNSUPPORTED_BY_INTEGRATOR |
If addressVerificationData had been sent, the integrator would not have been able to support it. |
UNSUPPORTED_BY_NETWORK |
If addressVerificationData had been sent, the network would not have been able to support it. |
UNSUPPORTED_BY_ISSUER |
If addressVerificationData had been sent, the issuer would not have been able to support it. |
SUPPORTED |
If addressVerificationData had been sent, the integrator would have been able to support it. |
AVS_SUPPORT_NOT_KNOWN |
If addressVerificationData had been sent, it is unknown if it would have been supported or not. |
AddressVerificationSentUnsupported
Google sent addressVerificationData
but AVS is unsupported.
JSON representation |
---|
{
"reason": enum ( |
Fields | |
---|---|
reason |
REQUIRED: The |
AvsNotSupportedReason
The reason Address Verification could not be performed.
Enums | |
---|---|
AVS_NOT_SUPPORTED_REASON_UNSPECIFIED |
Do not ever set this default value! |
UNSUPPORTED_BY_INTEGRATOR |
The integrator could not support Address Verification for this request. |
UNSUPPORTED_BY_NETWORK |
The network could not support Address Verification for this request. |
UNSUPPORTED_BY_ISSUER |
The issuer could not support Address Verification for this request. |
AddressVerificationSentResult
Google sent addressVerificationData
and this is the result.
JSON representation |
---|
{ "rawAvsResult": string, "addressLine": enum ( |
Fields | |
---|---|
rawAvsResult |
REQUIRED: The raw AVS value returned from the card network. If |
addressLine |
REQUIRED: The result of verifying the |
localityName |
REQUIRED: The result of verifying the |
administrativeAreaName |
REQUIRED: The result of verifying the |
postalCodeNumber |
REQUIRED: The result of verifying the |
countryCode |
REQUIRED: The result of verifying the |
nameOnCard |
REQUIRED: The result of verifying the |
VerificationResult
The result of verifying the nameOnCard
sent in the card
field of this request.
Enums | |
---|---|
VERIFICATION_RESULT_UNSPECIFIED |
Do not ever set this default value! |
MATCH |
Google sent the field to the integrator and it was checked via AVS and it matched the expected value. |
MISMATCH |
Google sent the field to the integrator and it was checked via AVS but did not match the expected value. |
NOT_SPECIFIED |
Google sent the field to the integrator and the integrator checked the field via AVS, but the AVS result code does not provide enough info for the integrator to know if the field matched the expected the value. |
SKIPPED_BY_NETWORK |
Google sent the field to the integrator but the Network did not return an AVS result (due to timeout etc.). |
SKIPPED_BY_ISSUER |
Google sent the field to the integrator but the issuer did not perform AVS (due to timeout etc.). |