Testing

Before you go live with Acclaim, you should test your integration in a safe environment. The Acclaim sandbox lets you create payers, tokenize payment methods, and run payment requests without moving real money.

This guide explains:

  • How the Acclaim test environment behaves
  • How to use test cards and test bank accounts
  • How to test the full flow from tokenization to payment requests and webhooks

Test environment overview

The Acclaim test environment is designed to behave as close to production as possible, with a few key differences.

  • No real charges are made. Test cards and bank accounts never pull or deposit real funds.
  • Same API base URL:
    https://api.withacclaim.com/v1
    You switch between test and live using different API keys.
  • Separate API keys. Use test keys from the Acclaim Console when running automated tests.
  • Lifecycle and webhooks. Payment requests in test mode still move through lifecycle states and emit webhooks so you can verify your handling logic.

Test card details

In the test environment you can use special card numbers to simulate different outcomes. Expiry dates and CVC values are usually flexible, as long as the date is in the future.

ScenarioBrandCard NumberExpiryCVCResult
Successful paymentVisa4242 4242 4242 4242Any future123Succeeds
Successful paymentMastercard5555 5555 5555 4444Any future123Succeeds
Successful paymentAmex3782 822463 10005Any future1234Succeeds
Successful paymentDiscover6011 1111 1111 1117Any future123Succeeds
Successful paymentJCB3566 0020 2036 0505Any future123Succeeds
Successful paymentDiners Club3056 9309 0259 04Any future123Succeeds
Insufficient fundsVisa4000 0000 0000 9995Any future123Fails insufficient funds
Insufficient fundsMastercard5200 8282 8282 8210Any future123Fails insufficient funds
Generic declineVisa4000 0000 0000 0002Any future123Generic decline
Generic declineMastercard5105 1051 0510 5100Any future123Generic decline
Generic declineDiscover6011 0009 9013 9424Any future123Generic decline
Incorrect CVCVisa4000 0000 0000 0127Any future000CVC failure
Incorrect CVCMastercard5555 5555 5555 5557Any future000CVC failure
Requires authentication (3DS)Visa4000 0000 0000 3220Any future123Moves to requires_action
Requires authentication (3DS)Mastercard5200 0000 0000 0106Any future123Moves to requires_action
Card not supportedVisa4000 0000 0000 0069Any future123Not supported / unsupported method error
Card not supportedAmex3787 3449 3671 000Any future1234Not supported / unsupported method error
Fraudulent card testVisa4000 0000 0000 9979Any future123Fails fraud checks
Fraudulent card testMastercard5155 5555 5555 5557Any future123Fails fraud checks

How to use test cards

  1. Create a tokenization request for your test payer.
  2. Load the Payment Element in your UI using the tokenization request.
  3. Enter one of the test card numbers with a future expiry and CVC.
  4. Complete the flow and observe how the payment method and subsequent payment requests behave.

Use different cards to validate:

  • Successful flows
  • Declines and error messages
  • 3DS or additional authentication flows

Test bank account details

For bank based payment methods (for example ACH or SEPA) you can use special test account details. These accounts never move real money but are accepted by the sandbox as valid instruments.

Example US ACH test accounts

ScenarioRouting numberAccount numberAccount typeResult
Successful debit110000000000123456789checkingPayment succeeds
Insufficient funds110000000000000000001checkingPayment fails insufficient funds
Account closed110000000000000000002checkingPayment fails account closed

Example EU SEPA test IBANs

ScenarioIBAN exampleResult
Successful debitDE89370400440532013000Payment succeeds
Rejected mandateDE89370400440532013001Mandate or debit is rejected

Use these IBANs or your configured equivalents when testing SEPA collection flows for Collect.