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
Request body
There is no
currency field: the currency is the one of your wallet, read server side.201
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.
available_at.
Reverse an allocation
You picked the wrong vendor, or the wrong amount. A reversal returns all or part of an allocation.201
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.
The 1% Connect surcharge is not returned by a reversal: reversing 9,000 in full brings you
back to 9,910, not 10,000.