English

No description in the specification.

2 operations
POST /patron/{patronId}/payment/finalize FinalizePayment

Finalize Payment

Finalize payment, mark fees as paid. Multiple calls to finalize payment with the same payment ID will return the same confirmation ID, and the FinalizeFeeStatus will be 'registered' (provided, of course, that the previous call also resulted in status 'registered'). If in the configuration, payment->initialize->state is `use_initialize` and the initialize endpoint has not been called (e.g. if the order ID is not created), finalize returns the error code 300005. This also means that `orderId` is required in the request if payment->initialize->state is `use_initialize`. Multiple calls to finalize payment with the same payment ID will return the same confirmation ID for a minimum of 48 hours. If finalize is called a second time with the same payment ID, and any information in the request has changed, finalize returns the error code 300301.

Parameters

patronIdrequired
path · stringPatron ID from authentication
Shared across operations: version. See the shared contract on the version page.

Request body

application/json · required

FinalizePaymentRequestBody

Responses

Error responses: 400 · 401 · 404 — See the shared contract on the version page.
POST /patron/{patronId}/payment/initialize InitializePayment

Initialize payment

This validates that the method can be used, initializes the payment, and returns an order ID.

Parameters

patronIdrequired
path · stringPatron ID from authentication
Shared across operations: version. See the shared contract on the version page.

Request body

application/json · required

InitializePaymentRequestBody

Responses

Error responses: 400 · 401 · 404 — See the shared contract on the version page.