Checkout.com Integration
Connect Checkout.com to LostChurn for automatic failed payment recovery.
The Checkout.com integration is live. Connect your Checkout.com account in your LostChurn dashboard under Settings > Integrations.
Checkout.com is a cloud-based payment platform built for high-growth and enterprise businesses. LostChurn connects to Checkout.com via API key and processes webhook notifications to detect failed payments and automate recovery.
Prerequisites
- An active Checkout.com account
- Access to The Hub (Checkout.com's management dashboard) with admin permissions
- A Checkout.com Secret Key (starts with
sk_for live orsk_test_for sandbox) - A LostChurn account with at least one workspace created
Connection Steps
- Log in to The Hub.
- Navigate to Settings > Channels and select your processing channel.
- Under API Keys, locate your Secret Key and Public Key. If you need a new key pair, click Generate New Keys.
- Copy the Secret Key (you will need to confirm generation, as the key is shown only once).
- In your LostChurn dashboard, go to Settings > Integrations and click Connect Checkout.com.
- Select your environment: Sandbox or Production.
- Paste the Secret Key and click Save and Verify. LostChurn makes a test API call to confirm the key is valid.
Webhook Configuration
- In The Hub, navigate to Settings > Channels and select your processing channel.
- Click Webhooks in the left sidebar.
- Click Add Webhook.
- Set the URL to:
https://webhooks.lostchurn.com/v1/checkoutcom - Under Events, select the following:
payment_declinedpayment_capturedpayment_approvedpayment_voidedpayment_refundedpayment_expiredpayment_capture_declinedpayment_refund_declinedcard_verifiedcard_verification_declineddispute_evidence_requireddispute_wondispute_lostdispute_expiredsource_updated
- Under Authorization, set the Signing Key. This key is auto-generated by Checkout.com. Copy it.
- Click Save.
- In your LostChurn dashboard, paste the Signing Key into the Webhook Signing Key field on the Checkout.com integration page.
Webhook Signature Verification
Checkout.com signs webhook payloads with an HMAC-SHA256 signature using the Signing Key. The hex-encoded signature is sent in the Cko-Signature HTTP header. LostChurn computes HMAC-SHA256 of the raw request body using your Signing Key and compares the hex digest against the Cko-Signature value using a timing-safe comparison. Requests with missing or invalid signatures are rejected with a 401 response.
Verify Connection
- In The Hub, go to Settings > Channels > Webhooks and select the LostChurn webhook.
- Click Test to send a test event.
- Verify the endpoint responds successfully (HTTP 200).
- In your LostChurn dashboard, navigate to Events and confirm the test event appears.
- For a more thorough test, process a test payment in the Checkout.com Sandbox using one of their test cards:
- Use card number
4242424242424242with amount100.00and 3DS simulation to trigger a decline.
- Use card number
A successful connection shows a green Connected badge on the Checkout.com card in Settings > Integrations.
Supported Events
| Checkout.com Event | LostChurn Action |
|---|---|
payment_declined | Creates a failed payment record, triggers retry evaluation |
payment_captured | Marks recovery as successful, stops active dunning |
payment_approved | Records successful authorization |
payment_voided | Records voided transaction |
payment_refunded | Records refund for revenue reporting |
payment_expired | Records payment expiration, triggers follow-up |
payment_capture_declined | Records capture failure, triggers investigation |
payment_refund_declined | Flags failed refund for merchant review |
card_verified | Records card verification for token management |
card_verification_declined | Flags failed card verification |
dispute_evidence_required | Pauses retry and dunning, alerts merchant |
dispute_won | Resumes recovery actions if applicable |
dispute_lost | Records dispute loss, permanently stops recovery |
source_updated | Triggers immediate retry of pending failures on updated source |
Provider-Specific Notes
Sandbox vs. Production
Checkout.com provides separate sandbox and production environments:
- Sandbox (
api.sandbox.checkout.com): Test transactions with test card numbers. Keys start withsk_test_andpk_test_. - Production (
api.checkout.com): Real transactions. Keys start withsk_andpk_.
Both environments can be connected to LostChurn simultaneously. Sandbox events are labeled with a sandbox badge.
Response Codes
Checkout.com provides detailed response codes for declined payments. LostChurn maps these to its internal decline taxonomy:
20005— Do Not Honor: Generic decline, retry eligible.20051— Insufficient Funds: Retry on a different day (e.g., after payday).20054— Expired Card: Triggers dunning email for payment method update.20014— Invalid Card Number: Requires customer to re-enter payment details.20065— Withdrawal Limit Exceeded: Retry with a lower amount or after a delay.30004— Suspected Fraud: No automatic retry, flagged for review.
The full mapping is available in Settings > Integrations > Checkout.com > Decline Code Mapping.
Network Tokens
Checkout.com supports network tokenization, which replaces card PANs with network-provisioned tokens. LostChurn supports retries using network tokens and Account Updater data, which can improve authorization rates on retries by up to 3-5%.
Intelligent Acceptance
Checkout.com offers an Intelligent Acceptance product that optimizes routing and retry logic. When using LostChurn alongside Intelligent Acceptance:
- LostChurn respects Checkout.com's routing decisions and does not override them.
- LostChurn adds dunning email, SMS, and in-app messaging capabilities that complement Checkout.com's server-side retry optimization.
- Recovery attribution is tracked separately for each system.
Processing Channels
Checkout.com organizes processing through channels (entities). If you have multiple processing channels (e.g., different geographies or business lines), connect each channel to LostChurn separately using channel-specific API keys.
Rate Limits
Checkout.com rate limits vary by account and are not publicly documented. LostChurn uses a conservative default of 10 requests per second and automatically adjusts based on 429 (Too Many Requests) responses. If you have a high-volume account with custom rate limits, contact LostChurn support to optimize throughput.
3D Secure
Checkout.com supports 3D Secure 2 (3DS2) for Strong Customer Authentication. When a retry requires 3DS, LostChurn sends the customer a secure link to complete the authentication challenge. The result flows back through Checkout.com's webhook notifications.