question

martin7 avatar image
martin7 asked Richelle Herrli answered

Default payment card for customer

Is there a way to mark a customer card as a default card using for payment via the API?

If a customer have 2-3 cards on file, when I send order pay request with source as customer id, it charges the last added card, but I want to charge the 1st added card. Is there a way to mark the first card as default card for payments?

Another way I can achieve that is is by getting the 1st card token and send it as source, but then I get a warning message "No stored credentials supplied on multipay token". The order is paid, but I am not sure if all is good because of that message and it would be easier if I just send customer id for source and charges the a default card.

OrdersPaymentsREST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Richelle Herrli avatar image
Richelle Herrli answered

As of right now, the last card saved is the default card on file. As you mentioned, if you need to charge a different card for that customer, you will need to send in the card source token and mark it as a subsequent transaction.

Please keep in mind that not every merchant has multipay card tokens enabled and, if they don't, the merchant will need to contact Clover Support to update their TransArmor token.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community