Scholar

Payment Method API object formats REST

There are two rest APIs returning the same underlying objects, but not in the same format at all. This is tricky to work with and has the likelihood of introducing bugs in our code.

 

Is there a route that I'm missing, or an undocumented route for payment methods, where I can do a list operation, and a get operation, and have the same underlying object be in equivalent formats (same keys and same capitalization)?

 

https://www.zuora.com/developer/api-reference/#operation/GET_PaymentMethods (really just credit cards, not ACH)

 

https://www.zuora.com/developer/api-reference/#operation/Object_GETPaymentMethod (ACH or credit cards and in a different object format)