prajapatichintan / Zoho-Subscriptions-API-wrapper

A .net Wrapper over Zoho Subscriptions API for Authentication,create subscriptions, plans, hosted pages, customers.
https://www.zoho.com/subscriptions/api/v1/
0 stars 0 forks source link

Retrieve Customer Card Details #1

Closed digitalgym closed 4 years ago

digitalgym commented 5 years ago

I'm looking for a way to read a customer's current card details, to display the last 4 digits and card brand is this possible?

prajapatichintan commented 5 years ago

You can retrieve customer card details from subscription object itself. check below screenshot which shows the property which returns the last four digit of card. image

https://github.com/prajapatichintan/Zoho-Subscriptions-API-wrapper/blob/master/ZohoSubscription/SubscriptionApi.cs

You need to retrieve Subscription Using Get Method. and within response you should get values from card.last_four_digits

let me know if that doesn't work. You may send me the example code which you are trying.