Creators · Treasury

Confirm a payout batch payment

Confirms a payout batch payment.

POSThttps://api.pozy.ai/v1/payout-batches/{batchId}/confirm
Enabled on requestconfirmPayoutBatch

Guide: Pay creators

Request

Send your API key as Authorization: Bearer pz_live_.... Read-only keys cannot call it. Keys with the money resource group disabled get 403 resource_group_disabled. Authentication

This endpoint is enabled per workspace. Until it is, calls return 403 feature_not_available. Email support@pozy.ai to turn it on.

Path parameters

NameTypeNotes
batchIdrequiredstring

Example

curl -X POST "https://api.pozy.ai/v1/payout-batches/627ca9b89851603d67d7b0f6/confirm" \
  -H "Authorization: Bearer $POZY_API_KEY"

Response

200 on success

  • batchobjectrequired
    11 child fields
    • idstringrequired
    • campaignIdstringrequired

      Can be null.

    • statusstringrequired

      One of awaiting_payment, paying, paid, partially_failed, failed, expired.

    • methodstringrequired

      One of card.

    • amountCentsintegerrequired
    • feeCentsintegerrequired
    • totalCentsintegerrequired
    • itemsarray of objectrequired
      9 child fields
      • idstringrequired
      • participantIdstringrequired
      • creatorobjectrequired
        1 child field
        • displayNamestringrequired
      • amountCentsintegerrequired
      • feeCentsintegerrequired
      • totalCentsintegerrequired
      • statusstringrequired

        One of pending, paid, failed, skipped.

      • failureReasonstringrequired

        Can be null.

      • transferIdstringrequired

        Can be null.

    • paidAtstring (date-time)required

      Can be null.

    • finishedAtstring (date-time)required

      Can be null.

    • createdAtstring (date-time)required
200 response
{
  "batch": {
    "id": "6bfebd43ddc270f6d2c56fc5",
    "campaignId": "65a3737dd8b11ea61f199e6e",
    "status": "awaiting_payment",
    "method": "card",
    "amountCents": 1,
    "feeCents": 1,
    "totalCents": 42,
    "items": [
      {
        "id": "6bfebd43ddc270f6d2c56fc5",
        "participantId": "6f0150243551cb6ee41f35e0",
        "creator": {
          "displayName": "Acme"
        },
        "amountCents": 1,
        "feeCents": 1,
        "totalCents": 42,
        "status": "pending",
        "failureReason": "string",
        "transferId": "6f5f6fe5901ca25e11c24ddb"
      }
    ],
    "paidAt": "2026-10-02T09:00:00.000Z",
    "finishedAt": "2026-10-02T09:00:00.000Z",
    "createdAt": "2026-10-02T09:00:00.000Z"
  }
}

Errors

Errors use one shape: { error, type, code, param?, details? }. The ones you are most likely to see here:

400invalid_request_errorA parameter or body field is missing or invalid. param names it.
401authentication_errorThe API key is missing, revoked or expired.
403permission_errorThe key is read-only, scoped to other profiles, or has this resource group disabled.
404not_foundNothing with that id exists in your workspace.
429rate_limit_errorToo many requests this minute. Wait for Retry-After seconds.

Every code is listed in Errors.

More in Treasury