Guides

Protect checkout

Reduce chargebacks and card misuse on purchases and subscriptions.

For purchases, send the transaction together with what you know about the customer, their device and the payment. Checkout data uses a nested shape.

{
  "userData": {
    "transaction": { "transaction_id": "txn_123", "transaction_amount": 89.0, "transaction_currency": "USD", "transaction_time": "2026-06-01T12:00:00Z", "product_category": "software" },
    "customer": {
      "customer_id": "cus_42", "email": "jane@example.com", "customer_age_days": 3, "customer_purchase_count": 0,
      "billing_address": { "country": "US", "postal_code": "02108" },
      "shipping_address": { "country": "US", "postal_code": "02108" }
    },
    "device": { "ip_address": "203.0.113.7", "session_id": "sess_9", "device_geolocation": { "latitude": 42.36, "longitude": -71.06 }, "ip_geolocation": { "latitude": 42.35, "longitude": -71.05 } },
    "payment": { "payment_method_added_at": "2026-05-30T09:00:00Z", "avs_result": "pass", "cvv_result": "pass" },
    "historical": { "previous_transactions_24h": 0, "failed_attempts_before_success": 0 }
  },
  "scenarioId": "FRD_CHARGEBACK_PREVENTION_001"
}

Send only the parts you have. Checks that need missing fields are skipped, not failed.

Suggested handling#

  • APPROVE: complete the order.
  • REVIEW: hold fulfilment for a manual look, or require 3-D Secure.
  • DENY: decline the payment.