CPF purchase limits

What happens when a buyer exceeds the limit

See how the system blocks purchases above the per-CPF cap and which message the buyer gets.

This is done in the organizer dashboard

Open the dashboard at dashboard.vaidebaila.app. The vaidebaila.app website is where the public buys tickets; managing your events happens in the dashboard. When a step happens somewhere else, such as the check-in app, the article says where.

When a buyer tries to acquire more tickets than the configured per-CPF limit allows, Baila blocks the purchase before creating the charge and shows a specific message. That happens both on the portal and in the mobile app, with the same text and the same behaviour. CPF is the Brazilian taxpayer ID.

The message the buyer sees

Depending on which identity went over, the buyer sees one of two messages:

  • The buyer blew their own CPF cap: "You have reached the limit of X ticket(s) for this event." (X is the limit you configured)
  • The cardholder blew their CPF cap: "The cardholder has reached the limit of X ticket(s) for this event." To carry on, the buyer has to use a card belonging to another cardholder or reduce the quantity.

Each message carries a distinct internal code (BUYER_CPF_CAP_EXCEEDED or CARDHOLDER_CPF_CAP_EXCEEDED) so support can diagnose it.

How the counter builds up

The counter is cumulative per event and survives the order life cycle:

  1. The buyer acquires 2 tickets → counter = 2
  2. They try to buy 2 more in another purchase (cap = 3) → blocked, counter stays at 2
  3. They request a refund for 1 ticket → counter goes back to 1
  4. They can buy again, up to the cap of 3

A pre-flight check, so there are no surprises

On the portal, as soon as the buyer picks a quantity, Baila makes a pre-check call (with no locking) that shows a yellow warning banner if the person is getting close to the limit. That heads off frustration at the end of checkout.

Transfers count too

Important: a transfer accepted by the recipient also counts against the recipient's cap. If somebody already holds N tickets and the event's cap is N, they cannot receive a transfer — even without buying anything.

Blocked attempts show up in the event's Metrics

As an organizer, you see that number in the event's metrics: in the side menu, click Metrics (right below Traffic) and use Metrics on the event's row. The Purchases blocked by the per-CPF limit card shows how many purchases the cap turned away over the last 7 days and all time. That helps you judge whether the cap is right or whether it is costing you legitimate sales.