Using Test Payers in the Sandbox
NOTE
DO NOT perform load testing or production data testing in the sandbox environment. Please use the sandbox ONLY to view sample API responses to HTTP requests using our predefined values and to familiarize yourself with our APIs.
For load testing and production data testing, we recommend using our APIs in the production environment.
How to Use the Test Payers in the sandbox
You can use your API client to test all of our API response types in the sandbox. You do this using a separate Test Payer ID, that is unique for each response type. See examples Use Test Payers in Sandbox.
How to use the test payer accounts for each Attachments API response type?
- Submit an attachment using the
/attachments/submission/v1/uploads
endpoint. Use a Test payer ID for each response type. - After the successful submission, the API returns the
traceId
in the response header. - Send an API request for the
summary/detail/attachments/status/v1/{traceId}
endpoint using thetraceId
from step 2 or to the/attachments/status/v1/metadata
endpoint using the transaction dates along with any filtering criteria you want to use.
The Attachments Status API returns a pre-defined sandbox status response that is configured for that payerId
.
A Metadata search returns a list of matching transactions with their traceId
and corresponding statuses. All trace IDs corresponding to a test payerId
will return a test status message. If any trace ID values that do not belong to the payer list appear, the result returns the actual status from the database.
All notifications apply to payers accepting both Solicited and Unsolicited attachments unless noted otherwise.
StatusCode Responses
For the status messages and examples of the respective statusCode
, see StatusCode and statusMessage.
Transaction Received by clearinghouse
TESTEP01 Test PayerId
If you use the sandbox with this test payerId
, you will receive the message that the clearinghouse has successfully received your submitted attachments transaction. See examples Use Test Payers in Sandbox.
Transaction accepted by clearinghouse
TESTEP02 Test PayerId
If you use the sandbox with this test payerId
, you will receive the message that the clearinghouse has accepted your submitted attachments transaction.
See examples Use Test Payers in Sandbox.
Successful Reception of Attachment by Payer
TESTEP04 Test PayerId
If you use the sandbox with this test payerId
, you will receive the notification when the clearinghouse delivers the attachment(s) to the payer. At this point, the clearinghouse has forwarded the attachment to the payer.
See examples Use Test Payers in Sandbox.
Acknowledgement of Attachment Reception by Payer
TESTEP05 Test PayerId
The payer sends acknowledgement of your attachment transmission through the clearinghouse. It indicates that they received your transaction and will evaluate it for accuracy and usability. This does not indicate payer acceptance of the transaction.
See examples Use Test Payers in Sandbox.
Acceptance of Attachment by Payer
TESTEP06 Test PayerId
If you use the sandbox with this test payerId
, you will receive the message indicating a successful attachment transaction.
See examples Use Test Payers in Sandbox.
Partial Acceptance of Multiple Attachments
NOTE
The TESTEP10 Test PayerId is designed for the "Partially Accepted" use case. Use at least two attachments in the same sandbox API request to receive an accurate response for this use case.
This response occurs when the payer accepts one or more files while rejecting others in a transaction with multiple files. The rejectionInformation
field may or may not be a part of the response in real-life transactions, and its data contents are up to the payer to provide. You can convert the file to the correct format and re-send it in a separate transaction. Ensure all documents conform to file format standards and also avoid sending files that exceed more than a few megabytes each. For example, modern cell phones can produce photos that are in excess of 6 to 8 megabytes; take measures to reduce their size before sending. Some diagnostics files, when sent in PDF format, may also exceed payer file size limits and need to be broken up into several smaller files.
TESTEP10 Test PayerId
See examples Use Test Payers in Sandbox.
Rejection of attachment transaction by clearinghouse
TESTEP51 Test PayerId
In this test case, the clearinghouse is rejecting the transaction due to errors. The clearinghouse will reject attachments with the wrong format and will not convert any file in an incorrect format; the sender must fix the problem and re-send. See format types supported for more information. If information is missing from the request body, the clearinghouse also may detect that and reject it for that reason.
See examples Use Test Payers in Sandbox.
The clearinghouse may contribute information for the rejectionInformation
field. You may or may not receive helpful information here, so it is important to address any possible issues before sending the transaction to the clearinghouse through the API:
Rejection of Attachment by Payer
TESTEP52 Test PayerId
In this test case, the payer rejects the attachment. Notification reaches the clearinghouse who forwards the results back to the submitter. Payers may reject an attachment due to excessive file sizes. CHAMPUS is a good example. File size is the most frequent issue in this use case.
See examples Use Test Payers in Sandbox.
The payer can optionally contribute information for the rejectionInformation
field. You may or may not receive helpful information here, so it is important to address any possible issues before starting the transaction. The rejections do not apply when you are running these calls in the sandbox but they apply when you are running the API in the real world. See examples Use Test Payers in Sandbox.
Rejection of Attachment Due to Request Validation Error
TESTEP53 Test PayerId
These rejections are due to missing information in the request body and come back to the submitter from the clearinghouse. It will contain the field names you will need to fill out correctly. See API Examples.
Successful Fax Transmission
TESTPP11 Test PayerId
You will receive a notification from the clearinghouse once the fax transmission has reached the fax/print facility.
See examples Use Test Payers in Sandbox.
Rejected/Failed Fax Transmissions
TESTPP12 Test PayerId
You might receive this message when Optum's contracted print/fax facility finds issues with the documents comprising the fax. It is possible that the request has an incorrect or missing fax number, or other errors that prevent the transmission from being sent. Ensure that all information in the request is accurate. The file attachments also may be too large.
See examples Use Test Payers in Sandbox.
Successful Fax Transmission
TESTPP13 Test PayerId
You will receive a notification from the clearinghouse once the fax transmission was completed.
See examples Use Test Payers in Sandbox.
Failures to Fax Transmission
TESTPP14 Test PayerId
Attachments may fail to fax; you will receive a notification for each attempt until it goes through. when the fax/print facility receives your transaction contents, they will make three fax call attempts per day until successful transmission. Make sure to add the payerFaxNumber
in your JSON request body before sending the request to the clearinghouse. The fax/print facility will not be able to handle sending the contents unless that information is your request and is correct. Ensure all other JSON request fields are correct in the request body before sending to clearinghouse.
See examples Use Test Payers in Sandbox.
Failed Mail Attachments
TESTPP15 Test PayerId
In rare instances, an attachment may not be mailed successfully. This is usually due to the payerAddress
not being present in the JSON request to the clearinghouse, along with the correct tradingPartnerServiceId
. The payerAddress
is a JSON object with several mandatory fields in the request before attempting a mail-in submission. Please verify that all information is correct before sending. Not doing so can result in extensive delays for attachments and for claims processing.
See examples Use Test Payers in Sandbox.
Mailed Attachments
TESTPP16 Test PayerId
Optum's print/fax contractor also handles mailing of attachments to payers who accept only mailed hardcopies. This message indicates that the print/fax facility deems the attachments acceptable and the payerAddress
information is correct; the attachments have been printed and mailed.
See examples Use Test Payers in Sandbox.
Tracking Information for Sent Transactions
TESTPP17 Test PayerId
You will receive tracking information when the API engine forwards your transaction. In both the following use cases, the transaction has reached the clearinghouse.
See examples Use Test Payers in Sandbox.
TESTPP18 Test PayerId
See examples Use Test Payers in Sandbox.
Related Topics
Updated about 2 months ago