I’m looking for a value with the API and can’t find it. When you click on “Edit Payment Plan” on an order you get a popup dialog where you can edit which credit card is to be used for Auto Charge:
When using the API Invoice Service > chargeInvoice, a Credit Card ID is required. In the API tables I can find Credit Card IDs for a Contact, Credit Card IDs for Payments they have made on any invoice, Credit Card IDs for any Subscriptions they have, but I can’t find the Credit Card ID that is assigned to a Payplan. Without that, I can’t pick the right credit card to use for chargeInvoice.
The closest thing I could do is charge a credit card that was previously charged on the same invoice, (assuming a previous payment was made), but that is not necessarily the currently selected card that the Payplan is set to Auto Charge (as shown in the dialog above).
Am I missing or something or is this information missing from the API?