Start building today with Treasury Prime’s APIs for banking.
curl
on the command-line to make a request to the ping
endpoint which validates your API Key ID and API Secret Key and returns a response as shown below.
Call the ping
endpoint using using HTTP Basic Auth, providing your API Key ID as the username, and the API Secret Key as the password.
account
endpoint.
id
property with a unique value such as acct_2w458dsi392h2m
. Using this value, you can request the details for a specific account (including the current balance) by calling the Account endpoint and passing the id
value (shown here as :id).
available_balance
which shows the amount of money in the account that is immediately available for transactions.