abacatepay.payment-link.publish ​
Ensure product then publish a reusable payment link.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-abacatepay |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
workflow_run_id | string | No | — | — |
product | json | Yes | — | — |
quantity | integer | No | — | — |
methods | list | No | — | — |
external_id | string | No | — | — |
metadata | json | No | — | — |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | — |
cloud_connection_uuid | uuid | Yes | — | — |
workflow_run_id | string | No | — | — |
product_ref | string | Yes | — | — |
payment_link_ref | string | Yes | — | — |
payment_link_url | string | Yes | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_step | json | No | — | — |
failed_layer | integer | No | — | — |
failed_at_state | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
failed_at | string | No | — | — |
provider_request_ref | string | No | — | — |
retryable | boolean | No | — | — |
ensure_product | json | No | — | — |
create_link | json | No | — | — |
product | json | Yes | — | — |
quantity | integer | No | — | — |
methods | list | No | — | — |
external_id | string | No | — | — |
metadata | json | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | ensure | abacatepay.catalog.ensure-product | — |
| 2 | publish | abacatepay.payment-link.create | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
abacatepay.catalog.ensure-product | ensure_product |
abacatepay.payment-link.create | create_link |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "abacatepay.payment-link.publish",
"initial_data": {
"organization_uuid": "value",
"cloud_connection_uuid": "value",
"product": "value"
}
}