Transactions
This page includes all endpoints available for the transactions module of Logiciel Actif.
List all transactions
GET
https://app.gem-books.com/api/transactions
This endpoint allows you to get the list of your transactions. The transactions are returned sorted by creation date, with the most recent transaction appearing first.
Headers
Authentification
string
Bearer token.
Accept
string
Should be application/json
.
Retrieve a transaction
GET
https://app.gem-books.com/api/transactions/:id
This endpoint allows you to access a specific transaction by its ID.
Path Parameters
id
string
ID of transaction.
Headers
Authentification
string
Bearer token.
Accept
string
Should be application/json
.
Create a transaction
POST
https://app.gem-books.com/api/transactions
This endpoint allows you to create a new transaction. The new transaction will be returned.
Headers
Authentification
string
Bearer token.
Accept
string
Should be application/json
.
Content-Type
string
Should be application/json
.
Request Body
code
string
Provider or client code, this will be applied to all details using the provider or client's account. Only one provider or one client can be sent in a single call.
reference
string
Transaction reference.
date
string
Transaction date.
details
array
All transaction legs (account,amount,currency,credit,reference,projet_id).
description
string
Transaction description.
Body example
Last updated