How to integrate with the Billing API