GraphQL API
The TradeSafe API using GraphQL. A basic understanding of GraphQL is required to incorporate the api into your application.
A GraphQL Client is recommended when using the API, there are many options available for all the major programming languages.
The API uses enums for many fields. A list of these can be retrieved using an introspection query or can be viewed using the GraphQL Playground
Basic Transactional Workflow
API actions need to be preformed in a set order before the next action in the sequence can be performed.
These actions are but not limited to:
- Generate a user token for each user in your application.
- Create a transaction
- Generate a payment link
- Prompt user to make a deposit
- (Optional) Amend one or more allocations
- Accept one or more allocation