Payments
This page includes all endpoints available for the sales pay of Logiciel Actif.
List all sales payments
GET
https://app.gem-books.com/api/sales_payments
This endpoint allows you to get the list of your clients.
Query Parameters
page
integer
The number of the page you wish to see. Default is 1.
per_page
integer
The number of the desired result per page. Default is 500.
Headers
Authentication
string
Bearer token.
Accept
string
Should be application/json
.
Retrieve a sales payment
GET
https://app.gem-books.com/api/sales_payment/:id
This endpoint allows you to get the details of the sales payment.
Path Parameters
id
integer
The ID of the sales payment to retrieve.
Headers
Authentication
string
Bearer token.
Accept
string
Should be application/json
.
Create a sales payment
POST
https://app.gem-books.com/api/sales_payment
This endpoint allows you to create a sales payment. Returns the created sales payment.
Headers
Authentication
string
Bearer token.
Content-Type
string
Should be application/json
.
Accept
string
Should be application/json
.
Request Body
invoice_id
string
Invoice ID
method_id
string
Payment method ID
amount
string
Payment amount
date_payment
string
Payment date
Update a sales payment
PUT
https://app.gem-books.com/api/sales_payment/:id
This endpoint allows you to update a specific sales payment. Returns the updated sales payment.
Path Parameters
id
integer
Sales payment id to update.
Headers
Authentication
string
Bearer token.
Content-Type
string
Should be application/json
.
Accept
string
Should be application/json
.
Last updated