Webhook events
The events Comecero sends to your endpoints, what each one holds and how to check it really came from Comecero.
Events
Guides that use it
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.
Meta data
Store your own data on Comecero carts, orders, customers, products and more with the meta field, and carry it from a cart or invoice to the order.
Entitlements
Decide what each customer may use in your app from what they bought. Features, feature sets and their revisions, memberships, overrides and limits.
SDK and HTTP integration
The entitlements SDK is coming soon. Use the HTTP check API today from your server with a usage key, and keep access checks and caching in your app.
Account and test mode
Sign up for Comecero, keep test and live tokens and data apart, test payments with test cards for success and decline, and get ready to go live.
Quickstart
Go from a new account to a paid test order with curl in about 5 minutes. Create a test token, a product and a cart, then pay with a test card.
Accept payments
Build a checkout with the API. Create a cart, take a card, PayPal or Apple Pay payment, handle 3-D Secure and declines, and capture or void later.
Invoices
Bill a customer with an invoice. Add products or custom items, publish the draft, send a payment link, take payment by API and follow the invoice events.
Refunds
Give money back with the API. Refund a whole order or part of it by amount or items, refund one payment, refund to store credit and follow the refund events.
Subscriptions
Sell a subscription with a plan and a cart, follow renewals with webhooks, change items with proration, cancel, retry failed payments and handle grace periods.
Webhooks
Get events such as order created or payment completed sent to your server, check the signature, answer fast, skip repeats and resend failed events.
Fraud screening
What Comecero checks before a card or wallet payment goes to the bank, what a blocked payment returns, trusted customers, and how to test a fraud block.
Multi-use license keys
Have Comecero make a license key for each sale, limit it to a number of devices, and keep it in step with renewals, refunds and chargebacks.
Analytics
Send storefront page views and purchases to Google Analytics 4 and Google Ads conversions, and add your own tracking code to the hosted storefront.
Auto fulfill and capture delay
How fulfillment settings decide when order items are marked fulfilled and when an authorized payment is captured, so you can take the money only after shipping.
Show usage in your app
Show each customer how much of their plan they have used this month, and email them at 80% with the usage threshold webhook. Uses usage so far and alerts.
Balance alerts
Get a webhook when a customer's prepaid credit runs low or runs out, so you can ask them to top up before usage is charged or blocked.
Credits and burndown
Sell prepaid credit, add it safely with an idempotency key, read the balance, and see exactly what is used first when usage is billed.
Follow usage
See usage this period so far, the shopper's own usage, the events behind a bill, and webhook alerts when a customer nears their allowance.
Quickstart
Set up usage billing for one customer in test mode and send their first usage events, then read usage so far, in short Node.js scripts.
Usage billing API
Every usage billing route on the Comecero API, grouped by resource, with who may call it and a link to its full page in the API reference.
Get a country GET
Gets one country by its two-letter code, in any case. This needs no token.
Credit grant confirmed Webhook
Fires after the credit ledger grant and its durable source are confirmed. Retried delivery retains the original occurrence identity. Subscription membership alone does not grant credit.