APIs
Get transactions for account
API Documentation
APIs
- GETGet all accounts
- POSTCreate a new account
- GETGet current balance for a given denomination for an account
- GETGet a single account
- PUTEdit an account information
- GETGet all balances on account
- GETGet transactions for account
- POSTPush Events
- GETGet webhooks
- POSTCreate a new webhook
- POSTSubscribe a Webhook URL to a specific topic
- POSTCreate Plan for Company
APIs
Get transactions for account
GET
/
v1
/
accounts
/
{account_id}
/
transactions
curl --request GET \
--url https://api.gofermata.com/v1/accounts/{account_id}/transactions \
--header 'Authorization: Basic <encoded-value>'
{
"data": [
{
"id": "<string>",
"created_at": "<string>",
"denomination": "<string>",
"type": "<string>",
"description": "<string>",
"unit_cost": 123,
"amount": 123,
"starting_balance": 123,
"ending_balance": 123,
"max_value_billing_amount": null,
"max_value_billing_previous_id": null,
"account": {
"account_id": "<string>",
"name": "<string>"
},
"events": [
{
"event_id": "<string>",
"type": "<string>"
}
]
}
]
}
Authorizations
To authenticate against the API, use HTTP Basic Authentication with your customer ID as the username and API key as the password.
Path Parameters
Response
200 - application/json
OK
Total amount charged against the balance denomination for the transaction
Balance for that denomination on the account before the transaction went through
Balance for the denomination on the account after the transaction
If the Max Value Billing feature applied to this transaction, this is the ID of the previous max transaction in the billing period that we used to calculate
curl --request GET \
--url https://api.gofermata.com/v1/accounts/{account_id}/transactions \
--header 'Authorization: Basic <encoded-value>'
{
"data": [
{
"id": "<string>",
"created_at": "<string>",
"denomination": "<string>",
"type": "<string>",
"description": "<string>",
"unit_cost": 123,
"amount": 123,
"starting_balance": 123,
"ending_balance": 123,
"max_value_billing_amount": null,
"max_value_billing_previous_id": null,
"account": {
"account_id": "<string>",
"name": "<string>"
},
"events": [
{
"event_id": "<string>",
"type": "<string>"
}
]
}
]
}