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 payment
GET
/
accounting
/
payments
/
{paymentId}
curl --request GET \
--url https://api.maesn.dev/accounting/payments/{paymentId} \
--header 'X-ACCOUNT-KEY: <x-account-key>' \
--header 'X-API-KEY: <x-api-key>'
{
"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 Response Fields:
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
ISO-8601 date format, e.g., 2024-01-01T00:00:00Z
Headers
API key
Example:
"example value"
Account key
Example:
"example value"
Path Parameters
Response
200 - application/json
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.maesn.dev/accounting/payments/{paymentId} \
--header 'X-ACCOUNT-KEY: <x-account-key>' \
--header 'X-API-KEY: <x-api-key>'
{
"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"
}
]
}
}