Two Documentation

website·Indexed 35 days ago

https://docs.two.inc

Technical resources for integrating Two's B2B payment infrastructure. Includes guides and API references for the Company API, Checkout API, and Trade Account API v3, covering order creation, buyer verification, invoicing, and settlement reports. Provides official plugins for Shopify, Magento, PrestaShop, OpenCart, and Craft Commerce.

Tokens
250.9K
Snippets
1.1K
Records
1.7K
Agent score
63%

What's inside Two

  1. Overview of the Two Order API

    The Two Order API (Version 1.0) is used to create and manage orders connected to online purchases. It serves as a central building block for other Two APIs, such as the Marketplace and Trade Account Onboarding APIs. Key capabilities include credit checks (order intents), order creation, fulfillment (sending invoices), editing, canceling, and refunding (sending credit notes).
  2. Overview of Trade Account Onboarding flow

    Trade Account Onboarding is an advanced workflow for merchants with registered, repeat B2B customers. It allows merchants to establish a relationship with a business ('Trade Account'), link employees to that account, and pre-verify users to reduce friction during future checkouts. This is ideal for B2B portals offering credit limits, 'Pay on Account' features, or 1-click checkout experiences.
  3. Overview of Two Billing Account API

    The Two Billing Account API (v1.0) is used to create and manage billing accounts that serve as records of transactions and payments for collections of orders. This allows businesses to receive grouped payment statements. Key capabilities include defining statement schedules, specifying email recipients for statements, and linking orders to specific billing accounts. Access to this service must be requested via support@two.inc.
  4. Overview of Trade Account API V3

    The Trade Account API V3 (version 3.0, currently in preview) allows businesses to onboard their B2B customers to their own product and the Two 'Buy Now Pay Later' product. Key capabilities include enabling 1-click checkout, approving additional users to place orders on behalf of business customers, and accessing enriched data and insights on business customers.
  5. Overview of the Business Registration API

    The Business Registration API (Version 1.0) is used to enroll businesses that do not appear in national registries, such as sole traders and government departments. This process is required to create trade accounts or orders for these entities. Currently, this service is limited to UK and US sole traders only.
  6. Overview of Billing Accounts and Grouped Statements

    A Billing Account defines grouped billing behavior for a merchant and buyer setup. Billing periods are time windows used to group invoiced orders, and Billing Statements are generated snapshots of these periods. Statements can be in various states: PREVIEW, FINALISED, or AMENDED. If multiple versions of a statement exist for one period, the API returns the latest version.
  7. Overview of the Repay API

    The Repay API is used to create and manage repayment accounts and repayment plans. A repayment account stores buyer billing details for invoicing and payment follow-ups. A repayment plan represents a receivable purchased from merchants, consisting of a collection of instalments paid by buyers over 3 to 36 months. Instalments from the same merchant for the same account are typically invoiced together on the 1st of each month. Merchants receive a net payout upon fulfilment of the repayment plan based on their negotiated payout cycle.
  8. Overview of the Autofill API

    The Autofill API (Version 1.0) allows merchants to save and retrieve buyer details to support the autofilling of checkout fields. If a buyer provides opt-in consent, their details can be stored and retrieved by any Two-powered merchant. Without consent, the API can still be used to store details non-persistently for the duration of the buyer's current browser session to facilitate data transmission between Two-hosted and merchant-hosted pages in a single workflow.
  9. Overview of the Two Repay API

    The Two Repay API (v1.0.0) allows merchants to create and manage repayment accounts and repayment plans. A repayment account stores buyer billing details for invoicing, while a repayment plan represents a receivable purchased from a merchant to be paid back by buyers over 3 to 36 months. Instalments from the same merchant for the same account are typically invoiced together on the 1st of each month. Upon fulfilment of a repayment plan, the merchant receives a net payout minus agreed fees based on their negotiated payout cycle.
  10. Overview of the Autofill API

    The Autofill API (v1.0) allows merchants to save and retrieve buyer details to support the autofilling of checkout fields. If a buyer provides opt-in consent, any merchant can store these details, and they can be retrieved by that merchant or any other Two-powered merchant. If consent is not provided, the API can still be used to store details non-persistently for the duration of the buyer's current browser session to facilitate data transmission between Two-hosted and merchant-hosted pages within a single workflow.
  11. Overview of Two B2B Payment Infrastructure APIs

    Two provides B2B payment infrastructure APIs designed to handle business-to-business transactions. The documentation includes guides for integration, available plugins for e-commerce platforms, and a full API reference for managing buyer details, invoice creation, and repayment accounts.
  12. Overview of Two Unified APIs

    Two provides a suite of unified APIs designed for B2B payments, onboarding, and business automation. The platform enables developers to identify buyer companies with verified data, assess buyer credit via Order Intents, onboard trade account customers for faster checkout, and manage the end-to-end order creation and fulfillment process.