Skip to content
Last updated

Our Payment card test data has updated, please refer here for the latest test data to use in our staging environment.

Test accounts and magic numbers

PHI test accounts

  • Fund: isoft test fund
  • healthFundCode: ISF
  • Member number: any 8 digit number
  • Patient ID: any number between 01 - 09
  • Card issue: any number between 01 - 09

Simulated claim responses

Member number based stubs

The health fund claiming engine is stubbed in non-production environments. To trigger various outcomes, you can use one of the following iSoft (ISF) fund and member numbers with any two digit patient and card issue number:

Member numberExpected Response
88888801Claim approved with ~60% fund benefit, ~40% gap, rounded down to the nearest dollar value
88888802Claim approved with 0% fund benefit, 100% gap (nil benefit/benefit cap)
88888803Claim approved with 100% fund benefit, 0% gap, any shipping & handling is still charged separate
88888804Claim declined, HealthPoint error, provider number not approved
88888805HealthPoint error, generic stubbed error message
88888806Unexpected error from HealthPoint
88888807Unexpected error from HealthPoint

invoiceReference based subs

Alternatively to Stub for create/approve/reverse set the following in the invoiceReference.

Sub TextExpected Response
STUB_OKDefaults to 60% benefit. You can set item.chargeAmount between $11 and $12 to fail in individual item with an error code matching the 'cents'.
STUB_NO_GAPAll items get 100% benefit.
STUB_ALL_GAPAll items get 0 benefit.
STUB_HP_CLAIM_ERRORHP XML response with error at the claim level (no items in response).
STUB_HP_ERRORHP XML error response
STUB_400 400 error from Switch
STUB_500500 error from Switch
STUB_HP_APPROVE_ERRORLike STUB_OK but the approve step fails with HP XML error response.
STUB_APPROVE_400Like STUB_OK but the approve step fails with 400 error from Switch.
STUB_APPROVE_500Like STUB_OK but the approve step fails with 500 error from Switch.
STUB_HP_CANCEL_ERRORLike STUB_OK but the cancel step fails with HP XML error response.
STUB_CANCEL_400Like STUB_OK but the cancel step fails with 400 error from Switch.
STUB_CANCEL_500Like STUB_OK but the cancel step fails with 500 error from Switch.

Stub text(s) are applied in the invoiceReference field

Payment card testing details

Valid test card numbers include :

Test cardsCard number
MasterCard5123450000000008
Visa4508750015741019
Visa4012000033330026
Expiry dateSimulated response
01 / 39APPROVED
08 / 28TIMED_OUT
04 / 27EXPIRED_CARD

At present, the Tyro Health Online STG environment is connected live to payment card schemes test networks. Payment schemes do not always honour simulated timeout/expired responses.

Payment card CSC/CVV can be one of:

CSC/CVVSimulated response
100MATCH (APPROVED)
102NO MATCH (DECLINED)
101NOT_PROCESSED