Perform this list of tasks to get up and running with programmatic transactions.
- Set up an API Signer. The Signer signs the transactions created by the API User.
- Create an API User. An API User creates transactions. This step results in an API Access Token for the API User.
- Pair the API User with the API Signer.
- Create a Transaction using Fordefi's REST API. Make sure to properly authenticate the API User’s request:
- Pass the Access Token in the
Authorization: Bearer <TOKEN>
header. - Sign the request body using the API User’s private key (the public key of which you registered with the API Signer).
- Pass the Access Token in the
JSON-RPC Provider
An alternative to Fordefi's REST API is the Fordefi JSON-RPC Provider interface.