Payments
Checkout.com Webhooks
Enterprise payment processing. Receive payment approved, declined, captured, refunded and voided events, card verifications and dispute events.
Connecting Checkout.com to Hookbase
Create a source in Hookbase first — it gives you an ingest URL to paste into Checkout.com. Then:
- 1In the Checkout.com Dashboard, open Developers → Webhooks and select Create configuration
- 2Enter your Hookbase ingest URL as the endpoint, then click "Generate key" for the signature key and paste it into this Hookbase source
- 3Choose the event types and entities, then select Create webhook
- 4Hookbase verifies Cko-Signature, deduplicates by the event id (evt_...), and uses type as the event type. Checkout.com expects a reply within 10 seconds
Signature verification
Set the source's provider to checkout-com and paste the signing secret. Every request is checked before the event is stored, and anything that fails is rejected rather than quietly recorded.
- Algorithm
- HMAC-SHA256 of the raw body, hex-encoded
- Header
- Cko-Signature
- Where to find the secret
- When you create the webhook configuration (Developers → Webhooks → Create configuration), use the second "Generate key" button, the signature key. The first one generates the Authorization header key, which is not what signs the body.
Checkout.com event types
11 of the events people route most often. Hookbase accepts every event Checkout.com sends, whether or not it is listed here.
payment_approved
A payment was authorized
payment_declined
A payment was declined
payment_captured
A payment was captured
payment_capture_declined
A capture was declined
payment_refunded
A payment was refunded
payment_voided
A payment was voided
card_verified
A card verification succeeded
authentication_failed
3D Secure authentication failed
dispute_evidence_required
A dispute needs evidence
dispute_won
A dispute was won
dispute_lost
A dispute was lost
What a Checkout.com webhook looks like
A payment_approved payload. Hookbase stores the raw body exactly as it arrived, so this is also what you get back on a replay.
{
"id": "evt_caxmnvuvbe4elkbdx2imwbnjxu",
"type": "payment_approved",
"version": "1.0.29",
"created_on": "2023-05-22T11:56:04.8821546Z",
"data": {
"id": "pay_griq7wyqkggu7mnk7ecm6ysrl4",
"amount": 20,
"currency": "USD",
"reference": "ORD-5023-4E89",
"response_code": "10000"
}
}Start receiving Checkout.com webhooks
Create a source, paste the URL into Checkout.com, and watch the first event arrive. The free tier includes 1,000 events a month.
Get Started Free