Skip to content

Build a perfect integration

Plan your Kustom integration from checkout to settlement. Connect your systems, follow the implementation guides and verify the go-live checklist.

Plan the full order lifecycle: checkout, acknowledgment, capture, refunds and settlement. Use the guides and checklist below to connect each step to your store and backend systems.

Using an e-commerce platform? Start with a plugin. The API guides are for developers building custom integrations.

Use the same order_id to track the purchase from checkout through settlement.

  1. in the cartno order yet
    Elements

    Add payment displays and express buttons to product and cart pages. Kustom renders them and creates orders for express purchases.

  2. at the checkoutthe customer pays
    Checkout

    Create the order, render the snippet and handle callbacks. Kustom collects customer details and authorizes the payment.

  3. authorizedthe money is reserved
    Order Management

    Acknowledge orders, capture payments when you ship, refund returns and manage cancellations or authorization extensions.

  4. capturedthe money moves
  5. settledin your account
    Finance

    Reconcile settlement reports against your orders and bank payouts.

Choose an integration model or platform plugin to handle these stages.

Send each API call from the system that handles the corresponding event: capture when a shipment leaves, refund when a return is approved and reconcile when a payout arrives. This works with a single backend or separate storefront, OMS, ERP and finance systems.

Store the Kustom order_id alongside your own order number in each system. Send your order number as merchant_reference1 and route webhooks to the system that needs to act.

Review the requirements for each stage and follow the linked guides.

1Before the checkout

no order yet
  • Express buttons on product and cart pages
  • Payment method display before the customer commits

2Taking the payment

the customer pays
  • One order per cart, updated — never a second one
  • One line per item, with product_url and image_url
  • Discounts, gift cards and shipping as their own lines
  • Locale, country, currency and your own terms URL
  • Delivery options: static, or live from your TMS
  • Push and redirect both record the order — push wins

3After the payment

the money is reserved
  • Acknowledge every order once your record exists
  • Capture as you ship, with the lines it covers
  • Tracking on the capture, not the order
  • Refunds allocated to their capture
  • Cancel what you cannot fulfill
  • Extend the authorization before it expires

4Getting paid

in your account
  • merchant_reference1 carries your order number
  • Settlement reports by API or SFTP, not by hand
  • Bank payment reference joins statement to report

Staying in sync

every stage
  • Events by webhook, not polling
  • Every delivery signature-verified and deduplicated
  • Your record is the truth for the business, Kustom's for the money

Running it

every stage
  • Playground and production never mixed
  • Eight go-live cases as the regression suite
  • Unknown fields ignored, every enum defaulted, keyed on error_code
  • Every Order Management write keyed with Kustom-Idempotency-Key

Verify these requirements before going live.

0 of 10
  1. Render and update
  2. Confirm the order
  3. Update or cancel an order
  4. Capture an order
  5. Refunds
  6. Extend authorization
  7. Your own data on an order
  8. Settlements
  9. Webhooks
  10. End-to-end test cases
Ticks are saved in this browser only. Nothing is sent anywhere.

This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.