v1

latestOpenAPI 3.1.0Payrails GmbH2026-07-2614905.7 MB
Workflows

Update the default workflow configuration

Update the default workflow configuration version.

put/merchant/workflows/{workflowCode}/versions/default

Path parameters

workflowCodestring required

Machine-friendly code of Workflow.

Path parameter to specify the workflow code.

Headers

x-idempotency-keystring uuid required

Idempotency key to be used. Sending again the same key would return the same result without re-executing the update.

Request body

versioninteger

Version of a Workflow Configuration.

workspaceIdstring uuid

The workspace id corresponding to the default workflow configuration.

Response

New default version set.

workflowCodestring required

The workflow code this default version applies to.

versioninteger required

The config version which will be used for newly created executions.

createdAtstring date-time required

When a version was first set as the default for this workflow.

updatedAtstring date-time required

When this version was set as the default version.

workspaceIdstring uuid

Workspace ID that the workflow configuration belongs to.

updatedBystring nullable

User email who set this workflow version as default.