Environment and credentials
Sandbox and production organizations use the same API base URL:/status checks connectivity; confirm the
token’s organization separately.
Use mock_result in your sandbox organization. It is not supported in
production. For PA requests, mock_result_not_allowed means the request used
production credentials. Remove mock_result or use your sandbox credentials.
Start with a complete request
The BV request guide contains a complete synthetic BV request. The PA request guide contains a complete synthetic PA request. Keepmock_result in those requests
when testing simulated outcomes.
Mock requests must pass validation, including required fields and valid enum
values. When using an NDC, use a supported code. If a mock request is
rejected, inspect its HTTP status and error before waiting for a webhook.
Simulate benefit verification outcomes
Add amock_result object to a BV create request. Its case applies to every
drug in that request.
For example, replace the BV example’s
mock_result with:
benefit_verification.status_change webhook with the simulated
result to your configured endpoint. You can also retrieve the result with
GET /benefit-verification/{id}.
Use an explicit mock result to test a specific terminal outcome. Unmocked sandbox BVs
do not exercise the full production verification process.
See the create reference for all
available cases, including reverification scenarios.
Simulate prior authorization outcomes
PA mocks use a different shape from BV mocks. Add one of these objects as the PA request’smock_result:
PA mocks send a
prior_authorization.status_change webhook with the selected
outcome to your configured endpoint. They skip the manual review step.
To test PA review, send a sandbox PA request without mock_result. Once it
reaches awaiting_review, open its data.url to review and submit it in
Develop Health.
See the PA create reference for the
complete mock schemas and permitted detail codes.