When integrating with the Payments API, or testing new code, you should use the Integration environment. This is the Cashflows Sandbox, which is identical to the Production platform but with simulated cardscheme responses. It is not possible when using the Integration environment to obtain real authorisations.
The URL for the Integration end-point is:
https://integration.cashflows.com/payments/[commandname]/
You may need to have generated some test data using the API to fully build and test. For example, you must have a valid authorised Transaction ID to attempt a Void operation. Likewise, the Refund command requires an original captured Transaction ID. Please contact our Implementations team (contact details at the end of this document) for more information about test accounts and data, if you are unsure how to do this.
Test transactions can be sent using our test cards:
4000000000000002 (VISA)
1000000000030419
Any valid expiry date
123
4462030000000000 (VISA prepaid)
1000000000030554
Any valid expiry date
444
5555555555554444 (Mastercard)
1000000000030567
Any valid expiry date
321
5597507644910558 (Mastercard prepaid)
1000000000030568
Any valid expiry date
888
340001916255521 (AMEX)
1000000000030565
Any valid expiry date
1234