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.
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.
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.
Get a country GET
Gets one country by its two-letter code, in any case. This needs no token.
Account modified Webhook
Fires when your account's details are changed (company name, contact details, status and so on). It is only made in live mode, so only live event subscriptions receive it. The body is an event object with the account in `data`.