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"
      }
    ]
  }
}

Test Api token:

663222ee

Test Account token:

85b30b51

Field support per integration

Headers

X-API-KEY
string
required

API key

Example:

"example value"

X-ACCOUNT-KEY
string
required

Account key

Example:

"example value"

Path Parameters

paymentId
string
required

Query Parameters

companyId
string
rawData
boolean

Response

200 - application/json
meta
object
data
object