Even when your CDN and WAF allow OpenAI ChatGPT Wallet (“dots”) through to checkout, payment risk engines can still decline legitimate orders. Why? Because the checkout page runs inside an OpenAI cloud browser (a cloud datacenter IP), while the shopper’s billing address and tokenized Visa/Mastercard/Amex card belong to a consumer in another city or ISP.
1. The 7 Fraud Signals OpenAI Sends in Forwarded
To bridge that gap without weakening fraud protection, OpenAI relays the shopper’s real session
context in the RFC 7239 Forwarded HTTP header:
asn— Shopper’s residential/mobile ISP ASN (e.g.7922).for— End-user IP address or obfuscated identifier.ip-country— Shopper ISO 3166-1 alpha-2 country code (e.g.US,GB).ip-prefix— Coarse CIDR prefix (e.g.198.51.100.0/24).locale— BCP 47 locale tag (e.g.en-US).tz— Shopper IANA timezone (e.g.America/Los_Angeles).user-agent— Shopper’s original device User-Agent context.
2. Never Trust Forwarded Without Verifying Web Bot Auth
An attacker can trivially send Forwarded: ip-country=US;asn=7922 from any curl
script. Your edge or checkout server must gate parsing behind cryptographic
verification of OpenAI’s RFC 9421 signature:
- Confirm
Signature-Agentequals"https://chatgpt.com". - Fetch and cache OpenAI’s public Ed25519 keys from
https://chatgpt.com/.well-known/http-message-signatures-directory. - Verify the Ed25519
Signatureover the canonical RFC 9421 signature base and checkcreated/expirestimestamps (or rely on Cloudflare’s verified Personal Agents signal at your edge Worker).
3. Attach Verified Signals to Stripe PaymentIntent Metadata
const paymentIntent = await stripe.paymentIntents.create({
amount: cart.totalCents,
currency: cart.currency,
payment_method_types: ['card'],
metadata: {
agentic_channel: req.agentContext.verified ? 'chatgpt_wallet' : 'web',
shopper_ip_country: req.agentContext.ipCountry ?? '',
shopper_ip_prefix: req.agentContext.ipPrefix ?? '',
shopper_asn: req.agentContext.asn ?? '',
shopper_tz: req.agentContext.tz ?? '',
shopper_locale: req.agentContext.locale ?? '',
},
});
In Stripe Radar for Fraud Teams, inspect custom rules that unconditionally block
datacenter IPs or IP-country mismatches. Scope those blocks so verified
::agentic_channel:: = 'chatgpt_wallet' transactions check
::shopper_ip_country:: = :card_country: instead of rejecting OpenAI’s cloud egress IP.
4. Passing Context to Adyen RevenueProtect
When calling Adyen’s /payments API, map verified shopper context into
additionalData risk fields and ensure network-tokenized cards (Visa Token Service /
Mastercard MDES) are enabled on your merchant account:
{
"additionalData": {
"riskdata.agenticChannel": "chatgpt_wallet",
"riskdata.shopperIpCountry": "US",
"riskdata.shopperAsn": "7922",
"riskdata.shopperTimezone": "America/Los_Angeles"
}
} 5. Debug & Generate Middleware Snippets
Use our interactive OpenAI Forwarded Header Parser to test header parsing, generate cURL test commands, and copy production-ready Cloudflare Worker and Express middleware.