Skip to main content

Special Test Mode Values

In test mode, you may specify some special values to trigger some common scenarios.

Payments

In the test mode for the Payments (and Batch Payments) API, these account numbers for the receiver will trigger a payment failure.

Account NumberEffect (non Batch)Effect (Batch)
000000000Failure (immediate)Failure(this single payment)
000000001Failure (later)Failure(this single payment)
000000002SuccessFailure (entire batch)

Direct Debit Payments

In the test mode for the Direct Debit Payments API, these customer references will trigger a payment failure.

Customer ReferenceEffect
failFailure

Hosted Payments

In the test mode for the Hosted Payments API, these hosted payment method IDs will trigger specific scenarios.

Hosted Payment Method IDEffect
hpm_TESTMODESUCCEEDEDsuccessful payment
hpm_TESTMODEFAILED_PAYLAHWALLETDELINKEDfailure - customer has unlinked their PayLah! wallet
hpm_TESTMODEPENDING_INSUFFICIENTFUNDSPENDINGTOPUPfailure - there is insufficient balance in the customer's PayLah! wallet, and they have been prompted to top up.