Skip to content
Proud to collaborate with Microsoft for Startups

abacatepay.charge.hosted ​

Ensure customer/products then create a hosted checkout (optional await).

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-abacatepay
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
workflow_run_idstringNo——
itemslistYes——
ensure_productslistNo——
customerjsonNo——
customer_refstringNo——
methodslistNo——
return_urlstringNo——
completion_urlstringNo——
couponslistNo——
external_idstringNo——
await_completionbooleanNo——
metadatajsonNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
workflow_run_idstringNo——
checkout_refstringYes——
checkout_urlstringYes——
statusstringYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_stepjsonNo——
failed_layerintegerNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——
provider_request_refstringNo——
retryablebooleanNo——
ensure_customerjsonNo——
create_checkoutjsonNo——
await_completionjsonNo——
itemslistYes——
ensure_productslistNo——
customerjsonNo——
customer_refstringNo——
methodslistNo——
return_urlstringNo——
completion_urlstringNo——
couponslistNo——
external_idstringNo——
metadatajsonNo——

DAG Layers ​

#LayerStepsCompensation
1ensureabacatepay.customer.create—
2chargeabacatepay.checkout.create—
3awaitabacatepay.checkout.await-completion—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
abacatepay.customer.createensure_customer
abacatepay.checkout.createcreate_checkout
abacatepay.checkout.await-completionawait_completion

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "abacatepay.charge.hosted",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "items": "value"
  }
}