Get started
Integrations
Use cases
API reference
- Accounting
- Overview
- Accounts
- Async Task
- Bills
- Bill Lines
- Bookings
- Booking Proposals
- Contacts
- Customers
- Dimensions
- Expenses
- Files
- Invoices
- Invoice Lines
- Items
- Journals
- Journal Entries
- Offers
- Offer Lines
- Payments
- Payment Terms
- Projects
- Sales Orders
- Sales Order Lines
- Suppliers
- Tax Rates
- Transactions
- Vendor Credits
- Authentication
- Tenant Management
- User
Payments
Get payments
GET
/
accounting
/
payments
curl --request GET \
--url https://api.maesn.dev/accounting/payments
{
"meta": {
"warnings": [
"Field not used by target system"
],
"pagination": {
"total": 123,
"perPage": 123,
"currentPage": 123,
"totalPages": 123
}
},
"data": [
{
"id": "payment id",
"currency": "EUR",
"createdDate": "2021-01-01",
"journalCode": "journal code",
"updatedDate": "2021-01-01",
"paymentType": "payment type",
"paymentLines": [
{
"amount": "100",
"accountId": "account id",
"description": "description",
"invoiceId": "invoice id"
}
]
}
]
}
Field support per integration
If you’re not using the Interactive Authentication Flow, make sure the query parameter companyId
is correctly populated.
You can obtain this value by using the GET Companies
endpoint available under the Authentication section.
Supported filters:
lastModifiedAt
Supported Response Fields:
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
Query Parameters
Available options:
5
, 10
, 20
, 50
, 100
Response
200 - application/json
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.maesn.dev/accounting/payments
{
"meta": {
"warnings": [
"Field not used by target system"
],
"pagination": {
"total": 123,
"perPage": 123,
"currentPage": 123,
"totalPages": 123
}
},
"data": [
{
"id": "payment id",
"currency": "EUR",
"createdDate": "2021-01-01",
"journalCode": "journal code",
"updatedDate": "2021-01-01",
"paymentType": "payment type",
"paymentLines": [
{
"amount": "100",
"accountId": "account id",
"description": "description",
"invoiceId": "invoice id"
}
]
}
]
}