Skip to main content

Force Approve a payment

To simplify automated testing in the test environment the ePayment API provides a "force approve" endpoint that confirms payments without using the test app: POST:/epayment/v1/payments/{reference}/approve.

To use the "force approve" feature, users need to be registered as "BankID verified" in the backend. This registration happens automatically in the test app but not with "force approve." Therefore, users must manually approve at least one payment in the app before they can use "force approve."

You may get HTTP 500 Internal Server Error for an expired card. If this is the case, you should create a new test user.

Help us improve our documentation

Did you find what you were looking for?