Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 1
Registered: ‎10-10-2017

AccountType (Credit Card Type) Values Changes Between Transaction Types in Sandbox

Hi There,


I am working on developing an application to authorize customer credit card details using the below transaction types and pass the values received from to another system.


Transaction Types: createTransactionRequest (authOnly), createCustomerProfileRequest and createCustomerPaymentProfileRequest.


What I noticed is that the accountType values for different cards are different between createTransactionRequest and other two. 


Example: For Amex createCustomerProfileRequest returns "accountType": "AmericanExpress" where as for other 2 "American Express" (with space). This broke my code during testing.


I would like to know if this changes in future? If yes how will get notified?

Does values change between production and sanbox?

Please share the list of possbile values if you have.