API Reference

A payment method defines a brand/sub-brand like Visa, Mastercard, etc., and restricts payments to some brand(s)/sub-brand(s). It also supports restricting a payment method by its issuing country and security level (if applicable).

The syntax is [3d-]{brand}[-{ISO 3166-1 alpha-2}][-business] - example:

3d-mastercard-ro-business
^      ^      ^     ^
|      |      |     |___ Signifies a corporate card
|      |      |_________ Issuing country as ISO 3166-1 alpha-2 (ie. the country where a credit card was issued)
|      |________________ The Brand (Visa, Mastercard, Viabill etc.)
|_______________________ Security Level (3D-secure or std. SSL)

This example will restrict a payment to...
  - be paid with a Mastercard
  - require 3D Secure
  - only accept Mastercards issued in Denmark
  - corporate cards

Negation

It is also possible to use negation with payment methods. If you do not want to accept some payment method(s), just put a ! in front of those you do not wish to accept.

Example: You want to accept all credit cards but NOT JCB and Visa cards issued in USA:

<input type="hidden" name="payment_methods" value="creditcard, !jcb, !visa-us">

🚧

Please note! If you define some payment method(s) in the payment_methods form field all other methods are excluded and will be rejected.

Supported payment methods

ValueDescriptionSecurity levelIssuing country
apple-payApple PayN/AN/A
anyday-splitAnyday SplitN/AN/A
american-expressAmerican Express credit cardN/AYes
creditcardRestricting payments to credit card payments only3D SecureYes
dankortDankort credit card3D SecureN/A
dinersDiners Club credit cardN/AYes
fbg1886Forbrugsforeningen af 1886N/AN/A
google-payGoogle PayN/AN/A
idealiDEALN/AN/A
jcbJCB credit card3D SecureYes
klarna-paymentsKlarna Payments. Includes all Klarna Payment options.
Contact us if you want to enable this payment method
N/AN/A
maestroMaestro debit card3D Secure (only)Yes
mastercardMastercard credit card3D SecureYes
mastercard-debetMastercard debet card3D SecureYes
mobilepayMobilePay Online (https://mobilepay.dk/)N/AN/A
mobilepay-subscriptionsMobilePay Subscriptions (https://mobilepay.dk/)N/AN/A
paypalPayPalN/AN/A
paysafecardPaysafecardN/AN/A
resursResurs BankN/AN/A
sofortSofortN/AN/A
swishSwishN/AN/A
trustlyTrustlyN/AN/A
unzer-pay-later-invoiceUnzer Pay Later InvoiceN/AN/A
viabillViaBillN/AN/A
visaVisa credit card3D SecureYes
visa-electronVisa debet (former Visa Electron) card3D SecureYes
vippsVippsN/AN/A
vippspspVipps via PSP N/AN/A