Skip to Content
Paycose Docs
Payout batches

Payout batches

The payout_batch_preview object

The result of checking payee rows as creating a payout batch would, without creating anything.

Attributes

  • objectstringRequired

    String naming the object's type.

  • currencystringRequired

    Three-letter ISO 4217 currency code, in lowercase.

  • countintegerRequired

    Number of rows that passed every check.

  • totalintegerRequired

    Sum of the amounts of the rows that passed, in the smallest currency unit.

  • validbooleanRequired

    true when every row passed, so creating the batch with these rows will not refuse any of them.

  • rowsarray of objectsRequired

    One entry per row sent, in order, with the problems found in it.

    Show child attributes
    • rows.rowintegerRequired

      Position of the row in the request, from 0.

    • rows.payeestringRequired

      Name of the payee, or the connected account ID when the row gave no name.

    • rows.amountintegerRequired

      Amount of the row, in the smallest currency unit.

    • rows.errorsarray of stringsRequired

      Problems found in the row; empty when it passed.

    • rows.accountstring

      Connected account (acct_…) the row names; omitted for a new payee.