Trustap API (2.0.1)
The Trustap API is a REST-based API for managing user data and transactions for Trustap users.
Note that, like Stripe, all API price and charge fields expect amounts to be provided in a currency's smallest unit. See the Stripe documentation for more details.
API Keys
Some endpoints such as /charge endpoints can be accessed directly using an API key. API keys are provided as the "username" portion of a basic auth authentication. For example, the Trustap fee for a transaction can be determined using the following cURL request with an API key:
curl -i -X GET -u '<API_KEY>:' 'https://api.test.trustap.com/v2/fees?currency=usd&amount=896'Deprecation
Deprecated endpoints have a description that describes what endpoints/approach should be used instead.
Deprecated endpoints will remain available in the current API version, but will be removed from subsequent API versions. To ensure a smooth migration to later API versions, avoid using deprecated endpoints and replace them with their recommended alternatives when they are deprecated.
Production
This documentation references the staging environment of the Trustap API, which is available at https://api.test.trustap.com and uses the trustap-stage realm during authentication. This environment can be used for implementing and testing features using test credit cards, bank accounts, etc.
When all features using Trustap have been implemented and tested sufficiently, the production environment of the Trustap API can be used to process actual currency. This environment is available at https://api.trustap.com and uses the trustap realm during authentication.
Note that only your client ID will be the same in the staging and production Trustap API environments; your client secret and API key will be different in the two environments.