POST
/api/v1/conformance/runConformance
Arm a conformance scenario
Set up a sandbox issuer outcome (`rejected`, `failed` or `silence`) on a transaction you own.
Sandbox API
https://sandbox-api.nuvante.ioTells the SimulatedIssuerAdapter to return a specific outcome for the next issuer instruction event on the transaction. Needs the runOwnConformancePack capability (tenant admin JWT), and the transaction has to belong to your participant. This only works in sandbox and returns 503 sandbox_unavailable in production. Once it's armed, poll GET /api/v1/transactions/{id} until the transaction is terminal.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| Authorization | string · header | Yes | Tenant admin portal JWT with the `runOwnConformancePack` capability. |
| scenario | "rejected" | "failed" | "silence" · body | Yes | The outcome to arm. `rejected` triggers an automatic unwind. `failed` parks the transaction. `silence` lets `approvalSlaSeconds` run out and then parks it. |
| transactionId | string (UUID) · body | Yes | The transaction to arm. It must belong to your participant. |
Responses
200Scenario armed. Poll the transaction to see what happens.
404Transaction not found or outside your scope.
503Sandbox only.
Request
curl --request POST \
--url 'https://sandbox-api.nuvante.io/api/v1/conformance/run' \
--header 'Authorization: Bearer nvt_sandbox_your_key' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"scenario": "rejected",
"transactionId": "123e4567-e89b-42d3-a456-426614174000"
}'Response
{
"data": {
"transactionId": "123e4567-e89b-42d3-a456-426614174000",
"scenario": "rejected",
"armed": true
},
"meta": {
"commandId": "f23e4567-e89b-42d3-a456-426614174047"
}
}