create_chain
Create multi-step Omise payment workflows with ordered charge, transfer, refund, schedule, or webhook actions, including conditions, retries, timeouts, and rollback steps for failure handling.
Instructions
Create a new payment chain
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"steps": "<steps>"
},
"name": "create_chain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Chain name | |
| steps | Yes | Chain execution steps | |
| timeout | No | Overall chain timeout in seconds | |
| metadata | No | Additional metadata for the chain | |
| description | No | Chain description | |
| rollback_steps | No | Rollback steps for chain failure |