lib/braintree/error_codes.rb in braintree-2.26.0 vs lib/braintree/error_codes.rb in braintree-2.27.0
- old
+ new
@@ -241,10 +241,19 @@
IdIsNotAllowed = "82605"
MasterMerchantAccountIdIsRequired = "82606"
MasterMerchantAccountIdIsInvalid = "82607"
MasterMerchantAccountMustBeActive = "82608"
TosAcceptedIsRequired = "82610"
+ IdCannotBeUpdated = "82675"
+ MasterMerchantAccountIdCannotBeUpdated = "82676"
+ CannotBeUpdated = "82674"
+ DeclinedOFAC = "82621"
+ DeclinedMasterCardMatch = "82622"
+ DeclinedFailedKYC = "82623"
+ DeclinedSsnInvalid = "82624"
+ DeclinedSsnMatchesDeceased = "82625"
+ Declined = "82626"
module ApplicantDetails
FirstNameIsRequired = "82609"
LastNameIsRequired = "82611"
DateOfBirthIsRequired = "82612"
@@ -257,25 +266,80 @@
CompanyNameIsInvalid = "82631"
TaxIdIsInvalid = "82632"
CompanyNameIsRequiredWithTaxId = "82633"
TaxIdIsRequiredWithCompanyName = "82634"
RoutingNumberIsInvalid = "82635"
- DeclinedOFAC = "82621"
- DeclinedMasterCardMatch = "82622"
- DeclinedFailedKYC = "82623"
- DeclinedSsnInvalid = "82624"
- DeclinedSsnMatchesDeceased = "82625"
- Declined = "82626"
+ DeclinedOFAC = "82621" # Keep for backwards compatibility
+ DeclinedMasterCardMatch = "82622" # Keep for backwards compatibility
+ DeclinedFailedKYC = "82623" # Keep for backwards compatibility
+ DeclinedSsnInvalid = "82624" # Keep for backwards compatibility
+ DeclinedSsnMatchesDeceased = "82625" # Keep for backwards compatibility
+ Declined = "82626" # Keep for backwards compatibility
PhoneIsInvalid = "82636"
+ DateOfBirthIsInvalid = "82663"
+ AccountNumberIsInvalid = "82670"
+ EmailAddressIsRequired = "82665"
+ TaxIdMustBeBlank = "82673"
module Address
StreetAddressIsRequired = "82617"
LocalityIsRequired = "82618"
PostalCodeIsRequired = "82619"
RegionIsRequired = "82620"
StreetAddressIsInvalid = "82629"
PostalCodeIsInvalid = "82630"
+ RegionIsInvalid = "82664"
end
+ end
+
+ module Individual
+ FirstNameIsRequired = "82637"
+ LastNameIsRequired = "82638"
+ DateOfBirthIsRequired = "82639"
+ SsnIsInvalid = "82642"
+ EmailIsInvalid = "82643"
+ FirstNameIsInvalid = "82644"
+ LastNameIsInvalid = "82645"
+ PhoneIsInvalid = "82656"
+ DateOfBirthIsInvalid = "82666"
+ EmailIsRequired = "82667"
+
+ module Address
+ StreetAddressIsRequired = "82657"
+ LocalityIsRequired = "82658"
+ PostalCodeIsRequired = "82659"
+ RegionIsRequired = "82660"
+ StreetAddressIsInvalid = "82661"
+ PostalCodeIsInvalid = "82662"
+ RegionIsInvalid = "82668"
+ end
+ end
+
+ module Business
+ DbaNameIsInvalid = "82646"
+ LegalNameIsInvalid = "82677"
+ LegalNameIsRequiredWithTaxId = "82669"
+ TaxIdIsInvalid = "82647"
+ TaxIdIsRequiredWithLegalName = "82648"
+ TaxIdMustBeBlank = "82672"
+ module Address
+ StreetAddressIsInvalid = "82685"
+ PostalCodeIsInvalid = "82686"
+ RegionIsInvalid = "82684"
+ end
+ end
+
+ module Funding
+ AccountNumberIsInvalid = "82671"
+ AccountNumberIsRequired = "82641"
+ DestinationIsInvalid = "82679"
+ DestinationIsRequired = "82678"
+ EmailIsInvalid = "82681"
+ EmailIsRequired = "82680"
+ MobilePhoneIsInvalid = "82683"
+ MobilePhoneIsRequired = "82682"
+ RoutingNumberIsInvalid = "82649"
+ RoutingNumberIsRequired = "82640"
end
end
module SettlementBatchSummary
SettlementDateIsRequired = "82301"