Workflows
Execute a workflow asynchronously
Queues a workflow execution request for asynchronous processing. Returns immediately with status 'queued'. Use GET /v1/instances to check execution status.
post/v1/workflows/{id}/run
Request
- Base URLhttps://api.paymongo.com
- URLhttps://api.paymongo.com/v1/workflows/{id}/run
- Authnone required
Path parameters
idstring required
Workflow ID
Headers
Organization-Idstring required
Organization ID
Idempotency-Keystring required
Required. Unique per logical operation, and reused unchanged across every retry of that operation. Maximum 255 bytes, no whitespace or control characters, never trimmed.
Request body
Example request
{
"reference": {
"external_id": "dp_abc123",
"source": "disputes"
}
}Response
Workflow queued successfully
Example response
{
"livemode": true,
"message": "Workflow queued for execution",
"message_id": "msg_abc123",
"queued_at": "2026-01-15 10:30:00+00:00",
"status": "queued",
"workflow_id": "flow_abc123"
}Changes
No recorded changes to this operation across all 1 revision of this API.