Getting Your API Keys
Your API keys authenticate requests to the Trustist Ecommerce API. Trustist issues TE API keys for your integration and configures each key with the permissions your application needs.
How API Access Works
A TE API key identifies your organisation and controls which API operations are available to your application. The same integration may use payments, customer management, onboarding, AIS, payouts, or webhooks, depending on how the key has been configured.
Getting a Key
Request TE API access
Contact Trustist to request API credentials for the environments you need, such as sandbox and production. Trustist will issue a Hawk ID and Hawk Key and configure the permissions for your use case.
Tell us what your integration will use
Your key can be configured for TE capabilities such as payments, customer records, identity verification, AIS, payouts, merchant bank account access, and webhooks. If the scope changes later, contact Trustist to update the key permissions.
Common Permissions
create_payment,read_payment- Create payments and retrieve payment statuscreate_standing_order,read_standing_order- Create and manage standing orderscreate_customer,read_customers,update_customer- Manage customer recordscreate_onboard_session,read_onboard_session,read_onboard_results- Run KYC, AML, and onboarding checksread_customer_bank_accounts,read_customer_bank_account_balances,read_customer_bank_account_transactions- Access AIS bank datacreate_payout,read_payout,approve_payout- Create, view, and approve payoutsmanage_webhooks- Register and manage webhook endpoints
If you receive a 403 Forbidden response, your key is valid but is not configured for the requested operation.
Contact Trustist support if the permission should be enabled.
Merchant Context
Some operations need to know which merchant account they apply to, especially payments, payouts, merchant bank
accounts, and AIS flows that are tied to a receiving merchant. If your API access can operate across more than
one merchant, include the merchant identifier supplied by Trustist in the X-Trustist-MerchantId header.
X-Trustist-MerchantId or contact support to confirm the correct setup.
Which Access Do I Need?
| If you want to... | Your API key needs... |
|---|---|
| Only process payments and standing orders | Payment and standing order permissions for the merchant being paid |
| Perform KYC/AML checks on customers | Customer and onboard session permissions |
| Create and manage customer records | Customer management permissions |
| Both payments and identity verification | Payment, customer, and onboard session permissions |
API Key Components
Each API key consists of two parts, following Hawk authentication nomenclature:
| Component | Description | Example |
|---|---|---|
| Hawk ID | A GUID that identifies your API key credential. This is safe to include in logs. | a1b2c3d4-e5f6-7890-abcd-ef1234567890 |
| Hawk Key | Shared secret used for request signing. Never expose this value. | sk_live_... |
Regenerating API Keys
TE API keys:
- Contact Trustist support to request key regeneration
- We'll coordinate the timing to minimize disruption to your integration
- Update your applications with the new key before the old key is disabled
Next Steps
Once you have your API keys:
- Set up your development environment
- Configure authentication in your application
- Test your integration using our sandbox environment
- Go live with production keys when ready