Skip to main content

How payment source updates work for PSPs

View as Markdown (opens in a new tab)
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.

Run both commands, in order.

claude plugin marketplace add vippsas/agent-toolkit
claude plugin install vipps-developer@agent-toolkit

For troubleshooting, see the full instructions.

A walkthrough of what happens when a user changes the card attached to an existing agreement.

Details​

When a user changes their card on an existing agreement in the app, Vipps MobilePay sends a zero-amount CIT to the PSP's cardCallbackUrl to verify the new card. The flow is identical to the card callback in agreement sign-up — no action is needed from the merchant's website.

Sequence diagram​

PSP merchant payment source update flow

100%
  1. User initiates a payment source change on their agreement with Vipps MobilePay.
  2. Vipps MobilePay posts the new card token to the PSP's cardCallbackUrl.
  3. PSP processes a verification payment using the new token.
  4. PSP returns 200 OK to Vipps MobilePay.
  5. Vipps MobilePay notifies the user that the update was successful.

More information​

For technical details, see the Recurring PSP API guide.