Skip to content
Proud to collaborate with Microsoft for Startups

abacatepay.payout.create ​

Create a payout (saque) to the merchant's own PIX key.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-abacatepay
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
cloud_connection_uuiduuidYes—Organization-scoped AbacatePay connection UUID
workflow_run_idstringNo—Engine-stamped parent DAG run id
amountintegerYes—Payout amount in centavos (min 350)
descriptionstringNo—Payout description
metadatajsonNo—Caller metadata bag

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID
cloud_connection_uuiduuidYes—Organization-scoped AbacatePay connection UUID
workflow_run_idstringNo—Engine-stamped parent DAG run id
payout_refstringYes—Provider payout id
amountintegerYes—Payout amount in centavos
statusstringYes—Payout status (starts PENDING)
payoutjsonYes—Normalized payout payload
created_atstringYes—ISO-8601 create timestamp
failure_reasonstringNo—Safe terminal failure reason
failure_typestringNo—Stable failure classification
failed_actionstringNo—Action that failed
failed_stepjsonNo—Failed DAG step envelope
failed_layerintegerNo—One-based failed DAG layer
failed_at_statestringNo—State where failure occurred
errorstringNo—Safe unexpected error
error_typestringNo—Unexpected exception class
failed_atstringNo—ISO-8601 failure timestamp
provider_request_refstringNo—Safe provider request reference
retryablebooleanNo—Whether the failure is retryable
descriptionstringNo—Payout description
metadatajsonNo—Caller metadata bag

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "abacatepay.payout.create",
  "initial_data": {
    "organization_uuid": "value",
    "cloud_connection_uuid": "value",
    "amount": 123
  }
}