Need help with Zoho Billing/Subscriptions API

Need help with Zoho Billing/Subscriptions API

Hello,

We need help in figuring out which APIs to use in the following scenarios to process customer payments and manage subscriptions.

When 14 days trial period is over and subscription status in Zoho changes to "TRIAL_EXPIRED" , customer comes back aftter trial expiry to upgrade the account to a paid plan,  which APIs to use to achieve the following?

1. Which API to use to process customer payments via Credit card? 
2. If there are no API as such available to process  Credit Card, how can we integrate hosted payment page in our custom app?
3. Once the payment is processed, how can we send an email to customer using zoho platform?
4. Which API updates the subscription status from "TRIAL_EXPIRED" to "LIVE" after confirmation of successful payment?

Please advise.

Thank you,
Darsh