POST/api/v1/conformance/run

Conformance

Arm a conformance scenario

Set up a sandbox issuer outcome (`rejected`, `failed` or `silence`) on a transaction you own.

Sandbox APIhttps://sandbox-api.nuvante.io

Tells 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

Arm a conformance scenario parameters
FieldTypeRequiredDescription
Authorizationstring · headerYesTenant admin portal JWT with the `runOwnConformancePack` capability.
scenario"rejected" | "failed" | "silence" · bodyYesThe outcome to arm. `rejected` triggers an automatic unwind. `failed` parks the transaction. `silence` lets `approvalSlaSeconds` run out and then parks it.
transactionIdstring (UUID) · bodyYesThe 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.
Create a sandbox API key

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"
  }
}