Credit card payments
Use this data to verify the credit card payment flow.
You can use these test cases to test your integration for credit card payments. When you create a payment request with either the amount, or card number - a certain result is triggered.
API method | Scenario | Transaction status | Trigger card number |
---|---|---|---|
|
The reservation was initiated and a frictionless flow was triggered. |
TransactionStatus.ACCEPTED |
|
|
The reservation was initiated and a challenge flow was triggered. |
TransactionStatus.CHALLENGE |
|
|
The reservation was initiated and a decoupled challenge flow was triggered. |
TransactionStatus.DECOUPLED |
|
In order to trigger the Authenticated or Rejected result upon authentication, please do so by clicking one of the following buttons in the Mock ACS (testbank):
API method | Scenario | Type | Trigger amount | Trigger card number |
---|---|---|---|---|
|
The payment fails because it is declined by the bank. |
Failed | 5.66 |
|
|
The payment fails because of a technical error. |
Error | 5.67 |
|
|
The reservation succeeds after a successful 3D Secure verification. |
3DSecureWork | 5.68 |
|
|
The CVV code is correct. |
CVV Check Matched | 5.71 |
|
|
The CVV code is not correct. |
CVV Check MisMatched | 5.72 |
|
|
The CVV code is not applicable. |
CVV Check Not_Applicable | 5.73 |
|
|
The card verification fails because the card is declined. |
Failed | 16.66 |
|
|
The card verification fails because of a technical error. |
Error | 16.67 |
|
Use this test case data to test fraud check responses.
API method | Scenario | Error type | Amount | Card Number |
---|---|---|---|---|
|
Fraud check Accept | Accept | 101 |
|
|
Fraud check Challenge. | Challenge | 102 |
|
|
Fraud check Deny. | Deny |
110 |
|
|
Fraud check Unknown. | Unknown | Not possible |
|
Use this test case data to test the Transaction Risk Analysis / Low Risk Exemptions feature.
Test Cases Using Enforced Mode
You need to use the following request parameters in order to trigger any of the below test cases.
- authentication[exemption]=TRA
- authentication[exemption_mode]=Enforced
API method | Scenario | Amount | Result | Card Number |
---|---|---|---|---|
|
A payment with Low Risk exemption is successfully authorized. | Any | Success |
|
|
SCA is triggered. A soft decline is received when trying to exempt the payment with Low Risk exemption. | 61.00 | Soft decline |
Any test credit card that triggers the 3DSecure v2 method flow. You can find those test credit cards here.
|
|
A hard decline is received when trying to exempt the payment with Low Risk exemption. | 62.00 | Hard decline |
Any test credit card that triggers the 3DSecure v2 method flow. You can find those test credit cards here.
|
Use this test case data to test the back-office methods. For more information, see API methods for Merchant and Processor APIs.
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at captureReservation | Failed | 7.66 |
|
Fails at captureReservation | Error | 7.67 |
|
Triggered at captureReservation | 20 second delay | 19.66 |
|
Triggered at captureReservation ( To create the chargeback object, capture the reservation, then go to the Merchant Information Interface, and under Home > Terminal Settings, click on Create test reconciliation data) |
Chargeback | 19.67 |
|
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at releaseReservation. | Failed | 8.66 |
|
Fails at releaseReservation. | Error | 8.67 |
|
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at refundCapturedReservation | Failed | 9.66 |
|
Fails at refundCapturedReservation | Error | 9.67 |
|
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at credit or createPaymentRequest with the appropriate type set. | Failed | 9.66 |
|
Fails at credit or createPaymentRequest with the appropriate type set. | Error | 9.67 |
|
Use this test case data to test the back-office methods for subscriptions. For more information, see API methods for Merchant and Processor APIs.
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at chargeSubscription | Failed | 13.66 |
|
Fails at chargeSubscription | Error | 13.67 |
|
Fails at reserveSubscriptionCharge | Failed | 13.66 |
|
Fails at reserveSubscriptionCharge | Error | 13.67 |
|