Happy Business Starts Here

Advanced Tutor Seb
Advanced Tutor

[REST] - Accepted card types failure


Hi, I'm using the REST API to handle payments in my application.


I'm using this integration: https://knowledgecenter.zuora.com/DC_Developers/REST_API/B_REST_API_reference/Accounts/1_Create_acco...

If you look closer to the API Documentation, the cardType parameter values are: Visa, MasterCard, AmericanExpress, Discover.


But if you pass a value that is not recognized by Zuora, for example {cardType: "ApplePay"} then Zuora will obviously fail and here is the response: 

ps: ApplePay is just for the example to make the API fail.


Screen Shot 2016-08-25 at 14.05.44.png


As you see, values are now: Visa, MasterCard, AmericanExpress, Discover, JCB, Diners, CUP, Maestro, Electron.


Are these card types accepted by Zuora (in orange) ? I tried to make payment with these cards using fake test card number (https://docs.adyen.com/support/integration#testcardnumbers) but it's payment are failing, here is the Zuora response:


JCB: Error processing transaction.<br>905 - Payment details are not supported
MAESTRO: PaymentMethod.errormsg.CreditCardTypeInvalid
DINERS: Error processing transaction.<br>905 - Payment details are not supported




Zuora Support

Re: [REST] - Accepted card types failure

Greeting - Only certain payment gateways support these payment methods.


You will have to test with these payment gateways.

If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √