forked from BoltApp/braintree-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
avs_response_code.go
28 lines (20 loc) · 1.25 KB
/
avs_response_code.go
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
package braintree
type AVSResponseCode string
const (
// The postal code or street address provided matches the information on file with the cardholder's bank.
AVSResponseCodeMatches AVSResponseCode = "M"
// The postal code or street address provided does not match the information on file with the cardholder's bank.
AVSResponseCodeDoesNotMatch AVSResponseCode = "N"
// The card-issuing bank received the postal code or street address but did not verify whether it was correct.
// This typically happens if the processor declines an authorization before the bank evaluates the postal code.
AVSResponseCodeNotVerified AVSResponseCode = "U"
// No postal code or street address was provided.
AVSResponseCodeNotProvided AVSResponseCode = "I"
// AVS information was provided but the card-issuing bank does not participate in address verification.
// This typically indicates a card-issuing bank outside of the US, Canada, and the UK.
AVSResponseCodeNotSupported AVSResponseCode = "S"
// A system error prevented any verification of street address or postal code.
AVSResponseCodeSystemError AVSResponseCode = "E"
// AVS information was provided but this type of transaction does not support address verification.
AVSResponseCodeNotApplicable AVSResponseCode = "A"
)