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
Name | Type | Description |
---|---|---|
Authentification | string | Bearer token. |
Accept | string | Should be |
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
Name | Type | Description |
---|---|---|
id | string | ID of transaction. |
Headers
Name | Type | Description |
---|---|---|
Authentification | string | Bearer token. |
Accept | string | Should be |
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
Name | Type | Description |
---|---|---|
Authentification | string | Bearer token. |
Accept | string | Should be |
Content-Type | string | Should be |
Request Body
Name | Type | Description |
---|---|---|
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