Skip to content
Tranzaq

Concepts

Batch lifecycle

The states a batch and each payment go through.

A batch is a group of payments. You create it as a draft, submit it, and then it is approved, sent and settled. Each payment has its own status, so one failure never hides the rest.

Batch statuses

StatusMeaning
DraftSaved, not sent for approval. You can still change it on the website, submit it or cancel it.
PendingApprovalWaiting for the people your approval rules require.
ApprovedApproved. The money is reserved and the batch is waiting to be sent.
RejectedAn approver rejected it. Nothing was paid.
ProcessingPayments are being sent and settled.
SuccessfulEvery payment was paid.
PartiallySuccessfulSome were paid and some failed.
FailedNo payment was paid. Reserved money is back in your balance.
CancelledCancelled before it was sent.

Payment statuses

StatusMeaning
PendingNot sent yet.
ProcessingSent, waiting for the result.
SuccessPaid.
FailedNot paid. failureCode and failureReason explain why. The money returns to your balance.
RetryPendingA temporary problem; we will try again.
ReversedPaid and then returned.
CancelledCancelled with the batch.

Following a batch

Either fetch the batch (GET /api/v1/payout-batches/{id}) until it is no longer Processing, or subscribe to webhooks and be told the moment each payment succeeds or fails. Webhooks are better for anything you check often.