Skip to main content
When you do not know the vendor at the time of the sale (multi-vendor cart, split computed after the fact, variable commission), charge normally on your own account, then allocate to the vendor. An allocation transfers funds from your wallet to a vendor’s wallet.
The endpoint is not called transfers. Yabetoo already exposes /v1/transfers, which means the opposite: an outbound movement to an external destination. allocations says what the operation does: assign a vendor a share of funds already collected.

Create an allocation

Headers

Unlike vendor creation, Idempotency-Key is optional here, but its absence is not neutral. An allocation moves money: always send a key.

Request body

There is no currency field: the currency is the one of your wallet, read server side.
201
amount in the response is what the SELLER received, not what you requested.An allocation carries the 1% Connect surcharge, computed on the allocated amount:It is this amount that caps any later reversal.
Why an allocation is charged. Without it, “charge with no vendor, then allocate” would reach the same economic result as direct mode while paying 1% less. The 1% pays for the Connect relationship (vendor verification, onboarding, payout rails), not for the split mechanism.The basis is the allocated amount, not the original gross: your own commission is therefore not taxed by Connect.
Allocated funds arrive in the vendor’s pending balance, with an available_at.

Reverse an allocation

You picked the wrong vendor, or the wrong amount. A reversal returns all or part of an allocation.
201
Successive reversals accumulate: reversed_total can never exceed the allocation’s amount.

How the funds are taken back

Two tiers, in this order, and never a third:
1

The vendor's pending balance

Funds that have not matured yet are seized first.
2

The vendor's available balance

For the remainder, capped at the reversal amount.
You are never the payer of last resort on a reversal. If the vendor cannot return the funds (because they have already been paid out), the reversal is refused with a 402. An allocation whose vendor has been paid is structurally irreversible.This is the opposite of a refund, where you are the last resort.
The 1% Connect surcharge is not returned by a reversal: reversing 9,000 in full brings you back to 9,910, not 10,000.

Errors