Available testcards and payment methods

Test card numbers

In order to create a test payment specify "testmode": true, when creating the payment in the API.

Example cards:

PANActionIdentifies as
4000112401172221AuthorizeVisa-Debit, Consumer, CA
5500120801422221AuthorizeMastercard-Credit, Consumer, DK
4242120802091112Fail on authorizeVisa-Credit, Consumer, DK
4000253302611113Fail on captureVisa-Debit, Corporate, AW
5500113602321114Fail on cancelMastercard-Credit, Consumer, KY
5100116202241115Fail on refundMastercard-Debit, Consumer, CX

When testing card payments the PAN must validate the LUHN check^1. Using the following last 4 digits, you can
trigger an error for a given action on the payment.

PAN last 4Fails on action
1112Authorize
1113Capture
1114Cancel
1115Refund

All PAN used that do not end with one of the 4 listed examples above, will be handled without error.

Testcards must conform to the following format:

NOTE: See the tables below for more info.

BrandSegmentCountry codeUse any 4 digitsTrigger action
XXXXXXXXXXXXXXXX
DigitBrand
4242Visa
4000Visa-Debit
5500Mastercard
5100Mastercard-Debit
5019Dankort
6007Forbrugsforeningen
DigitSegment
1Consumer
2Corporate

Country code according to ISO 3166-1 numeric.