/v1/sandbox/* route exists to test payer outcomes against a real authorization without changing the core integration model.
Outside the sandbox route, you continue to work against:
- the authorization
- blocking actions
- artifacts
- events
Within sandbox, use the same base URL and bearer token as the rest of the sandbox API. There is no separate credential for
/v1/sandbox/*.Authentication
Sandbox routes use the same bearer token as the rest of the sandbox API:Endpoint
| Method | Endpoint | Purpose |
|---|---|---|
| POST | /v1/sandbox/prior-auth/authorizations/{authorizationId}/payer-events | Inject an approval, denial, or request for information. |
Supported event types
Approval
Use this to complete an authorization with an approved decision. Required fields:type = approvaldocumentFileIdcertificationNumberapprovedStartDateapprovedEndDateapprovalExpiresAt
Denial
Use this to complete an authorization with a denied decision. Required fields:type = denialdocumentFileIddenialReasonCodedenialReasonMessage
Request for information
Use this to move a submitted authorization back intoaction_required.
Required fields:
type = more_info_requestdocumentFileIdmessagerequestedDocuments
Files
Sandbox payer events reference a file that was uploaded through the public file API with:Typical test sequence
Create and submit an authorization
Use the public API to create the authorization, attach any supporting files, preview it, and submit it.
Upload a sandbox payer document
Create a file with
purpose = sandbox_payer_document, upload the content, and complete the file.Inject the payer event
Call the sandbox payer-event route with the authorization ID and the uploaded
documentFileId.Design boundary
The sandbox route is intentionally simple:- it uses
authorizationId - it is documented
- it is safe for customer testing