API Reference

Upnance implements a system for testing payments in your shop. A test payment is activated by using special card numbers, phone numbers, etc... . This can be done in a production environment and will not interfere with live payments.

Use these numbers to invoke a certain response. You may use a random expiration date and CVV - (as long as they “seem” valid).

It is possible to select the country the test card is issued in, by setting the CVV to a country code from ISO 3166-1.

E.g. by filling in 752 as CVV, the test card will be issued in Sweden.

Card numberResponseDescription
1000 0000 0000 0008ApprovedVISA
1000 0000 0000 0016RejectedVISA
1000 0000 0000 0024Card ExpiredVISA
1000 0000 0000 0032Capture RejectedVISA
1000 0000 0000 0040Refund RejectedVISA
1000 0000 0000 0057Cancel RejectedVISA
1000 0000 0000 0065Recurring RejectedVISA
1000 0000 0000 007330100 - 3D Secure is requiredVISA
1000 0000 0000 0081Authorize OnceVISA
1000 0000 0000 0099Delayed in queue 60 secondsVISA
1000 0100 0000 0007ApprovedMastercard
1000 0100 0000 0015RejectedMastercard
1000 0100 0000 0023Card ExpiredMastercard
1000 0100 0000 0031Capture RejectedMastercard
1000 0100 0000 0049Refund RejectedMastercard
1000 0100 0000 0056Cancel RejectedMastercard
1000 0100 0000 0064Recurring RejectedMastercard
1000 0100 0000 007230100 - 3D Secure is requiredMastercard
1000 0100 0000 0080Authorize OnceMastercard
1000 0100 0000 0098Delayed in queue 60 secondsMastercard
1000 0200 0000 0006ApprovedDankort
1000 0200 0000 0014RejectedDankort
1000 0200 0000 0022Card ExpiredDankort
1000 0200 0000 0030Capture RejectedDankort
1000 0200 0000 0048Refund RejectedDankort
1000 0200 0000 0055Cancel RejectedDankort
1000 0200 0000 0063Recurring RejectedDankort
1000 0200 0000 0071Authorize OnceDankort
1000 0200 0000 0089Delayed in queue 60 secondsDankort
1000 0300 0000 0005ApprovedAmerican Express
1000 0300 0000 0013RejectedAmerican Express
1000 0300 0000 0021Card ExpiredAmerican Express
1000 0300 0000 0039Capture RejectedAmerican Express
1000 0300 0000 0047Refund RejectedAmerican Express
1000 0300 0000 0054Cancel RejectedAmerican Express
1000 0300 0000 0062Recurring RejectedAmerican Express
1000 0300 0000 0070Authorize OnceAmerican Express
1000 0300 0000 0088Delayed in queue 60 secondsAmerican Express
1000 0400 0000 0004ApprovedMaestro
1000 0400 0000 0012RejectedMaestro
1000 0400 0000 0020Card ExpiredMaestro
1000 0400 0000 0038Capture RejectedMaestro
1000 0400 0000 0046Refund RejectedMaestro
1000 0400 0000 0053Cancel RejectedMaestro
1000 0400 0000 0061Recurring RejectedMaestro
1000 0400 0000 0079Authorize OnceMaestro
1000 0400 0000 0087Delayed in queue 60 secondsMaestro
1000 0500 0000 0003ApprovedVISA Electron
1000 0500 0000 0011RejectedVISA Electron
1000 0500 0000 0029Card ExpiredVISA Electron
1000 0500 0000 0037Capture RejectedVISA Electron
1000 0500 0000 0045Refund RejectedVISA Electron
1000 0500 0000 0052Cancel RejectedVISA Electron
1000 0500 0000 0060Recurring RejectedVISA Electron
1000 0500 0000 007830100 - 3D Secure is requiredVISA Electron
1000 0500 0000 0086Authorize OnceVISA Electron
1000 0500 0000 0094Delayed in queue 60 secondsVISA Electron