Skip to main content

Postman Collections

Use this plug-and-play Postman setup to test the core happy path across:

Prerequisites

To interact with the API and the sandbox environment, you must already be signed up with Two to gain access to your merchant_id and sandbox API key.

Download Files

  1. Download the Sandbox Environment Template
  2. Download your region-specific collection

Importing into Postman

After downloading, import both JSON files into Postman:

  1. Open Postman
  2. Click Import in the top left
  3. Select both downloaded JSON files
  4. Select the imported environment and set:
    • merchant_id
    • sandbox_api_key

All other defaults are prefilled, including region-specific:

  • country_code
  • currency
  • example_phone_number
  • country_post_code
  • example_email_address ([email protected])

Run folders top-to-bottom:

  1. Company Search
  2. Checkout
  3. Trade Account v3
  4. Billing Account

The collection automatically stores key IDs (for example canonical_id, order_id, trade_user_id, billing_account_id) from API responses, so later requests are ready to run with minimal manual copying.

For more details, see Postman's import documentation.