Step 2: Create billing template
POST https://gate.reviopay.com/api/v1/billing_templates/
Card subscription payments require customers to tokenise their card details as part of their first payment. After that, all subsequent card charges are completed using 2d secure transactions.
Always set force_recurring = true
to ensure that the customer's card is tokenised. Failing to do so will allow the customer to choose whether they want to use their card for upcoming purchases
Remember to set subscription_active = true
You can also specificy success_redirect
or failure_redirect
or cancel_redirect
fields when creating the billingtemplate if you need to redirect your customer when they subscribe to a `billingtemplate` via your website.