cURL
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": "94a5ab44-3218-4492-8b5d-a31bc0288c0b", "currency": "EUR", "createdDate": "2021-01-01T00:00:00Z", "exchangeRate": 1, "journalCode": "30", "updatedDate": "2021-01-01T00:00:00Z", "paymentLines": [ { "accountId": "4a6b5e92-a261-4be9-814d-84dec9636c16", "amount": 100, "description": "payment of bill", "invoiceId": "a44f5af1-8310-4f97-b945-26e35288b35f", "paymentDate": "2025-01-01", "supplierId": "supplier id" } ], "paymentType": "CREDITOR" } }
Exact
companyId
GET Companies
true
Show properties
API key
"example value"
Account key
The response is of type object.
object
Was this page helpful?