Skip to content
Proud to collaborate with Microsoft for Startups

abacatepay.customer.ensure ​

Ensure a customer exists (provider upserts by taxId).

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-abacatepay
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
workflow_run_idstringNo——
emailstringYes——
tax_idstringNo——
namestringNo——
cellphonestringNo——
zip_codestringNo——
metadatajsonNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
cloud_connection_uuiduuidYes——
workflow_run_idstringNo——
customer_refstringYes——
customerjsonYes——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_stepjsonNo——
failed_layerintegerNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——
provider_request_refstringNo——
retryablebooleanNo——
create_customerjsonNo——
emailstringYes——
tax_idstringNo——
namestringNo——
cellphonestringNo——
zip_codestringNo——
metadatajsonNo——

DAG Layers ​

#LayerStepsCompensation
1ensureabacatepay.customer.create—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
abacatepay.customer.createcreate_customer

API Usage ​

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

{
  "workflow_type": "abacatepay.customer.ensure",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "email": "value"
  }
}