Skip to main content

Status Machine

This section shows the status values you receive when integrating with LB Pay: from API responses, webhooks, balance, and statement queries.

SourceWhen to use
API responseAfter POST or GET on Pix In, Pix Out, Refund, or Internal Transfer
WebhookAsynchronous notification when a transaction reaches a final or relevant state
BalanceCurrent account snapshot (not a transaction lifecycle)
StatementHistorical ledger lines (settled movements, not pending operations)

Poll the API or wait for a webhook — do not mix both vocabularies for the same decision without mapping the tables in each topic below.

Topics

TopicDescription
Pix InDeposit / immediate charge lifecycle
Pix OutWithdraw lifecycle (POST and GET)
Pix RefundRefund lifecycle
Internal transferInternal transfer lifecycle
WebhooksEvent names and payload status values
BalanceBalance snapshot fields
StatementStatement line classification

API ↔ webhook mapping

OperationAPI final statusTypical webhook
DepositPAIDpixChargePaidpaid
DepositEXPIREDpixChargeExpiredexpired
WithdrawSUCCESSpixWithdrawSuccesssuccess
WithdrawREJECTED / FAILEDpixWithdrawFailedrejected / failed
RefundREFUNDEDpixRefundSuccesssuccess
RefundNOT_EXECUTEDpixRefundFailedfailed

See Webhooks guide for payload fields and delivery rules.