Checkout.com Integration
Enterprise payment processing with Network Tokens and smart routing.
Overview
Checkout.com is an enterprise payment processor offering Network Tokens, intelligent routing, and advanced fraud prevention. It's ideal for high-volume merchants seeking optimized approval rates.
Network Tokens provide 5-10% higher approval rates compared to raw card storage, making them ideal for merchant-initiated agent transactions.
Setup
# Connect Checkout.com
$ hyperfold integrate add checkout
Enter your Checkout.com Secret Key: sk_xxx
Enter your Checkout.com Public Key: pk_xxx
Testing connection...
✓ Connected to Checkout.com
CHECKOUT.COM CONNECTED
Entity ID: ent_xxx
Mode: live
Processing: enabled
# View connection details
$ hyperfold integrate show checkout
INTEGRATION: Checkout.com
Entity ID: ent_xxx
Business: Acme Sports Inc.
Mode: live
Status: active
CAPABILITIES
✓ Card Payments
✓ Network Tokens
✓ 3D Secure
✓ Apple Pay / Google Pay
✓ Multi-currency
Prerequisites
- Checkout.com merchant account
- API credentials (Secret and Public keys)
- Network Tokens enabled (Enterprise feature)
Network Tokens
Network Tokens are card-network-issued tokens that replace card numbers:
# Network Token support for agent payments
# Benefits for agent commerce:
# - Higher approval rates (5-10% improvement)
# - Automatic card updates (no expired card failures)
# - PCI scope reduction
# - Lower interchange fees on some networks
# Configure Network Tokens
$ hyperfold integrate config checkout \
--enable-network-tokens \
--token-provider=visa,mastercard
# Token flow:
# 1. Customer saves card → Checkout.com requests Network Token
# 2. Network Token stored instead of PAN
# 3. Agent transactions use Network Token
# 4. Card updates propagate automatically
POST /acp/checkout/finalize
{
"checkout_id": "chk_xyz789",
"payment": {
"method": "checkout_nt",
"network_token_id": "tok_nt_abc123"
}
}
Network Token Benefits
| Benefit | Impact |
|---|---|
| Higher Approval Rates | 5-10% improvement on average |
| Auto Card Updates | No expired card failures |
| Reduced PCI Scope | No card data storage |
| Lower Fees | Reduced interchange on some networks |
Payment Processing
# Payment processing with Checkout.com
@OnACPEvent("checkout.finalize")
async handleCheckoutPayment(event: CheckoutEvent) {
const payment = await this.tools.payments.charge({
provider: "checkout",
amount: event.total * 100, // Checkout.com uses minor units
currency: "USD",
source: {
type: "network_token",
token: event.payment.network_token_id
},
reference: event.order_id,
metadata: {
session_id: event.session_id,
customer_id: event.customer.id
},
"3ds": {
enabled: event.total > 100,
attempt_n3d: true
}
});
return {
status: payment.approved ? "success" : "payment_failed",
payment_id: payment.id,
auth_code: payment.auth_code
};
}
# View payment details
$ hyperfold pay show pay_xxx
PAYMENT: pay_xxx
Provider: Checkout.com
Status: Captured
Amount: $167.79 USD
CARD
Brand: Visa
Last 4: 4242
Network Token: Active
3D SECURE
Version: 2.2
Status: Authenticated
Features
# Multi-currency processing
$ hyperfold integrate config checkout \
--currencies=USD,EUR,GBP,JPY \
--auto-conversion=true
# Intelligent acceptance
$ hyperfold integrate config checkout \
--smart-routing=true \
--retry-on-soft-decline=true \
--cascade-to-backup=true
# Fraud prevention
$ hyperfold integrate config checkout \
--fraud-detection=enabled \
--risk-threshold=medium \
--block-high-risk=true
# View processing statistics
$ hyperfold pay stats --provider=checkout --period=30d
Smart Routing
Intelligent Retry — Automatically retry soft declines with optimized parameters to improve approval rates.
Cascade Routing — Route to backup acquirers when primary processor fails, ensuring maximum transaction completion.
Risk-Based 3DS — Apply 3D Secure selectively based on transaction risk, balancing security with conversion.