{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Test accounts and magic numbers","description":"Tyro Health Docs","keywords":"redocly developer portal, api portal starter, api reference docs","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Our Payment card test data has updated, please refer ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://docs.tyrohealth.com/developer-portal/testing/testing/","target":"_blank"},"children":["here"]}," for the latest test data to use in our staging environment."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"test-accounts-and-magic-numbers","__idx":0},"children":["Test accounts and magic numbers"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"phi-test-accounts","__idx":1},"children":["PHI test accounts"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Fund"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isoft test fund"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["healthFundCode"]},": ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["ISF"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Member number"]},": any 8 digit number"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Patient ID"]},": any number between ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["01"]}," - ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["09"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Card issue"]},": any number between ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["01"]}," - ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["09"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"simulated-claim-responses","__idx":2},"children":["Simulated claim responses"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"member-number-based-stubs","__idx":3},"children":["Member number based stubs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Member number"},"children":["Member number"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Expected Response"},"children":["Expected Response"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["88888801"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Claim approved with ~60% fund benefit, ~40% gap, rounded down to the nearest dollar value"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["88888802"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Claim approved with 0% fund benefit, 100% gap (nil benefit/benefit cap)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["88888803"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Claim approved with 100% fund benefit, 0% gap, any shipping & handling is still charged separate"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["88888804"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Claim declined, HealthPoint error, provider number not approved"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["88888805"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HealthPoint error, generic stubbed error message"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["88888806"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unexpected error from HealthPoint"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["88888807"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unexpected error from HealthPoint"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"invoicereference-based-subs","__idx":4},"children":["invoiceReference based subs"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Alternatively to Stub for create/approve/reverse set the following in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceReference"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Sub Text"},"children":["Sub Text"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Expected Response"},"children":["Expected Response"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_OK"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Defaults to 60% benefit. You can set ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["item.chargeAmount"]}," between $11 and $12 to fail in individual item with an error code matching the 'cents'."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_NO_GAP"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All items get 100% benefit."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_ALL_GAP"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["All items get 0 benefit."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_HP_CLAIM_ERROR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HP XML response with error at the claim level (no items in response)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_HP_ERROR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HP XML error response"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_400 "]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["400 error from Switch"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_500"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["500 error from Switch"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_HP_APPROVE_ERROR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Like STUB_OK but the approve step fails with HP XML error response."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_APPROVE_400"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Like STUB_OK but the approve step fails with 400 error from Switch."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_APPROVE_500"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Like STUB_OK but the approve step fails with 500 error from Switch."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_HP_CANCEL_ERROR"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Like STUB_OK but the cancel step fails with HP XML error response."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_CANCEL_400"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Like STUB_OK but the cancel step fails with 400 error from Switch."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STUB_CANCEL_500"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Like STUB_OK but the cancel step fails with 500 error from Switch."]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Stub text(s) are applied in the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["invoiceReference"]}," field"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"payment-card-testing-details","__idx":5},"children":["Payment card testing details"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Valid test card numbers include :"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Test cards"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Card number"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MasterCard"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["5123450000000008"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4508750015741019"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Visa"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["4012000033330026"]}]}]}]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Expiry date"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Simulated response"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["01 / 39"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["APPROVED"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["08 / 28"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["TIMED_OUT"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["04 / 27"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["EXPIRED_CARD"]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["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."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Payment card CSC/CVV can be one of:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["CSC/CVV"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Simulated response"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["100"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["MATCH (APPROVED)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["102"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NO MATCH (DECLINED)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["101"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["NOT_PROCESSED"]}]}]}]}]}]},"headings":[{"value":"Test accounts and magic numbers","id":"test-accounts-and-magic-numbers","depth":1},{"value":"PHI test accounts","id":"phi-test-accounts","depth":2},{"value":"Simulated claim responses","id":"simulated-claim-responses","depth":2},{"value":"Member number based stubs","id":"member-number-based-stubs","depth":3},{"value":"invoiceReference based subs","id":"invoicereference-based-subs","depth":3},{"value":"Payment card testing details","id":"payment-card-testing-details","depth":2}],"frontmatter":{"title":"Testing ","seo":{"title":"Test accounts and magic numbers"}},"lastModified":"2026-03-18T02:56:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/developer-portal/checkout/testing","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}