Getting Your API Keys

Your API keys are used to authenticate your requests to the Trustist Ecommerce API. Keys are managed through the TrustistTransfer app and provide secure access to your resources.

โš ๏ธ Important - Key Types: The Trustist API uses two types of keys with different capabilities:
  • Merchant Keys (self-service via TrustistTransfer app) - For payment operations only
  • Tenant Keys (requires contacting Trustist) - For customer and identity verification operations

See the Key Types section below for full details.

API Key Types

The Trustist Ecommerce API uses two distinct types of API keys, depending on what operations you need to perform:

1. Merchant Keys (Self-Service) ๐Ÿ’ณ

What you can do:

  • โœ… Process payments via the Payments API
  • โœ… Create and manage standing orders
  • โœ… Retrieve payment status
  • โœ… Configure merchant payment webhooks

How to get them:

  1. Log in to the TrustistTransfer app
  2. Tap on the settings cog icon on the right-hand side of the lower navigation menu
  3. Scroll down until you see the API Keys section

Scope: These keys are merchant-scoped and can only access payment operations for that specific merchant.

2. Tenant Keys (Contact Required) ๐Ÿข

What you can do:

  • โœ… Create and manage customer records
  • โœ… Initiate identity verification sessions (KYC/AML checks)
  • โœ… Retrieve verification results
  • โœ… Configure tenant identity verification webhooks
  • โœ… Optionally also process payments (if configured)

How to get them:

๐Ÿ“ง Contact Required: Tenant keys with customer and identity verification permissions are not yet self-service. Please contact Trustist support to request a tenant key with the specific permissions you need.

Scope: These keys are tenant-scoped and can access customer data and identity verification across all merchants under your tenant.

๐Ÿšจ Common Mistake: If you try to use a merchant key (from TrustistTransfer app) to call customer or identity verification endpoints, you will receive a 403 Forbidden error. You must request a tenant key from Trustist support for these operations.

Which Key Do I Need?

If you want to... You need...
Only process payments and standing orders Merchant Key (self-service)
Perform KYC/AML checks on customers Tenant Key (contact support)
Create and manage customer records Tenant Key (contact support)
Both payments and identity verification Tenant Key with payment permissions (contact support)
๐Ÿ”’ Security: Keep your API keys secure and never share them publicly. If you suspect a key has been compromised, regenerate it immediately (for merchant keys) or contact support (for tenant keys).

API Key Components

Both merchant and tenant keys consist of two parts, following Hawk authentication nomenclature:

Component Description Example
Hawk ID A GUID that identifies your API key credential (safe to include in logs) a1b2c3d4-e5f6-7890-abcd-ef1234567890
Hawk Key Shared secret used for request signing (never expose) sk_live_...

Regenerating API Keys

For Merchant Keys:

  • Click the "Regenerate Keys" button in the API Keys section of the TrustistTransfer app
  • โš ๏ธ Warning: This will immediately invalidate your previous keys
  • Update your applications with the new keys before proceeding

For Tenant Keys:

  • Contact Trustist support to request key regeneration
  • We'll coordinate the timing to minimize disruption to your integration
๐Ÿšจ Important: Regenerating keys will break any existing integrations. Only regenerate when necessary for security reasons.

Next Steps

Once you have your API keys:

  1. Set up your development environment
  2. Configure authentication in your application
  3. Test your integration using our sandbox environment
  4. Go live with production keys when ready

Continue to Authentication Setup โ†’