Invoice payments
Use this data to test the invoice payments supported by AltaPay.
Klarna KP
For Klarna payments, use the test credentials available at https://developers.klarna.com/en/dk/kpm/test-credentials, where you must select the appropriate test credentials, matching your terminal’s country setting.
ViaBill payments
If the terminal has test mode enabled, you can use the following test case data to verify the ViaBill payment flow.
To test a successful payment, you can use any CPR number other than the numbers listed below.
Create the reservations with the given amounts or social security numbers (CPR) and the application fails with the listed error type.

API method | Scenario | Error type | Amount | Social security (CPR) |
---|---|---|---|---|
createPaymentRequest | The payment fails because it was declined by the bank. | Failed | 5.66 | 123456 0566 |
createPaymentRequest | The payment fails because of a technical error. | Error | 5.67 | 123456 0567 |
createPaymentRequest | The payment is returned in an Open state. | Open | 5.68 | 123456 0568 |

API method | Scenario | Error type | Amount | Social security (CPR) |
---|---|---|---|---|
|
The re-authorized payment capture fails because it was declined by the bank. |
Failed | 6.66 | 123456 0666 |
|
The re-authorized payment capture fails because of a technical error. |
Error | 6.67 | 123456 0667 |
The payment capture fails because it was declined by the bank. |
Failed | 7.66 | 123456 0766 | |
createPaymentRequest |
The payment capture fails because of a technical error. |
Error | 7.67 | 123456 0767 |
createPaymentRequest |
The payment capture fails, because the payment is in an open state. |
Error | 7.68 | 123456 0768 |
releaseReservation |
The reservation cannot be released because the bank declines. |
Failed | 8.66 | 123456 0866 |
releaseReservation |
The reservation cannot be released because of a technical error. |
Error | 8.67 | 123456 0867 |
refundCapturedReservation | The refund fails because it was declined by the bank. | Failed | 9.66 | 123456 0966 |
refundCapturedReservation | The refund fails because of a technical error. | Error | 9.67 | 123456 0967 |