Force Approve a payment
Install AI tools
Give your assistant up-to-date guidance for our APIs, with our plugin or without it.
The plugin is still under development. See the AI tools page for details.
- Claude Code
- Cursor
- Codex
- Without installing
Run both commands, in order.
claude plugin marketplace add vippsas/agent-toolkit
claude plugin install vipps-developer@agent-toolkit
Open Settings, then Plugins.
Add vippsas/agent-toolkit as a plugin marketplace, then install the "vipps-developer" plugin.
For the app, add the marketplace "vippsas/agent-toolkit" and then install "vipps-developer". For the CLI, run the following commands.
codex plugin marketplace add vippsas/agent-toolkit
codex plugin add vipps-developer@agent-toolkit
Paste this into any assistant.
Read https://github.com/vippsas/agent-toolkit/blob/main/plugins/vipps-developer/README.md for Vipps MobilePay integration guidance.
For troubleshooting, see the full instructions.
All ePayment API requests must include a valid Bearer token in the Authorization header.
See Authorization for how to obtain one.
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/test/payments/{reference}/approve.
Express is not supported for this endpoint. Attempted use in production is not allowed, and will fail. Important: All test users must manually approve at least one payment in the Vipps or MobilePay app before this endpoint can be used for that user.
You may get HTTP 500 Internal Server Error for an expired card. If this is the case,
you should create a new test user.
Here are the expected properties for the request body:
See the API spec for more details.