Payments

Get payment events.

Returns all payment events that match the request criteria. For payment events of a single invoice, you can also use the endpoint /invoices/{invoiceId}/paymentevents.

get/payments/paymentevents

Request

  • Base URL: https://pts-api.procountor.com/api
  • URL: https://pts-api.procountor.com/api/payments/paymentevents
  • Auth: HTTP bearer

Query parameters

invoiceIdinteger[] required

Unique comma-separated invoice identifier(s). Max 200 ids per request.

previousIdinteger

Previous payment ID for pagination.

orderById'ASC' | 'DESC'

Order the results by payment ID.

sizeinteger

Page size for the results. Maximum value: 200.

pageinteger

Page number for the results

Response

The payment events were successfully returned.

Example response

{
  "results": [
    {
      "paidCurrency": "SEK"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.