Block payment sources
Manage which payment sources are available for wallet payments, including the ability to block commercial cards in Danish and Finnish markets.
In the Danish and Finnish markets, it is possible to block payment sources when using WALLET
as payment method type.
Specify the blockedSources
parameter in the
POST:/epayment/v1/payments
request.
Currently, commercial cards are the only type of cards that can be blocked.
For example:
{
"amount": {
"value": 49900,
"currency": "NOK"
},
"paymentMethod": {
"type": "WALLET",
"blockedSources": ["COMMERCIAL_CARDS"]
},
"reference": 2810171731400321010,
"userFlow": "WEB_REDIRECT",
"returnUrl": "https://developer.vippsmobilepay.com/docs/example-pages/result-page",
"paymentDescription": "Reference 2810171731400321010 from webshop.no"
}
This is only available for Danish and Finnish sales units. If you attempt with a Norwegian sales unit, you will get the error message:
{
"extraDetails": [],
"type": "https://httpstatuses.io/400",
"title": "Blocking sources not applicable",
"status": 400,
"detail": "Not possible to block payment sources for market: 'Norwegian'",
"instance": "/v1/payments"
}
In Norway, there may be cases where your customers can't use a credit card. If this is the case, contact your KAM.