TokenPay DevelopersMerchant Dashboard

Downloads

Pre-built API collections generated from the canonical OpenAPI spec at build time. Never shipped with a live key — replace the api_key variable with your own tk_test_ sandbox key before sending requests.

  • Postman collection (v2.1)

    Import into Postman. Fill in the api_key collection variable with your tk_test_ sandbox key.

  • Insomnia export (v4)

    Import into Insomnia. Base environment ships base_url and api_key variables — replace the api_key with your tk_test_ key.

  • OpenAPI 3.1 JSON

    Machine-readable contract for every v1 merchant-facing endpoint. Suitable for code generation (openapi-generator, openapi-typescript, etc.).

Using the collection

  1. Download the file above.
  2. Import it into Postman or Insomnia (File → Import).
  3. Edit the api_key variable and paste your tk_test_ sandbox key (Merchant Dashboard → Settings → API Keys).
  4. Start with GET /v1/rates to confirm auth, then try POST /v1/payments with a minimal body.