Tutorials
Tutorials
Step-by-step tutorials that build working Comecero integrations, from a browser checkout in one HTML page to usage billing for API calls, seats and credit.
Each tutorial builds one small thing that works from start to finish, in test mode.
Usage billing
Bill customers for what they use. Each tutorial runs in test mode and builds on the first one.
Bill for API calls
Count calls in your server, send them in batches, and price them with calls included and tiers.
Bill for seats
Send a seat count every hour and bill the most seats used in the month.
Sell prepaid credit
Charge a credit pack and add the credit when it is paid, so usage is paid from it first.
Show usage in your app
Show usage so far as a bar, and email customers at 80% of their plan.
New to the API? Run the Quickstart first. It makes the test product the Hello World page uses.
License services
Give buyers a license key after each sale, either from a list of keys you upload or from your own license server that Comecero calls with the order.
Hello World
Build a test checkout in one HTML page. Get a limited token from the browser, create a cart, pay it with a test card and show the result.