Skip to main content
An allocation transfers funds from your wallet to a vendor’s. A reversal returns all or part of them. Integration guide: Deferred mode.

Base URL

The paths below are relative to this base. Both hosts serve the same endpoints.

The connect_allocation object

string
Unique identifier, prefixed ctr_.
string
Always connect_allocation.
string
The credited vendor’s acct_.
number
What the vendor received, net of the Connect surcharge, not necessarily what you requested. This is the amount that caps reversals.
number
The Connect surcharge collected by Yabetoo on this allocation.
string
Currency of the operation.
string | null
Date on which the funds will become available to the vendor.
string | null
ISO 8601 timestamp.

The connect_reversal object

string
Unique identifier, prefixed ctrr_.
string
Always connect_reversal.
string
The reversed allocation, ctr_….
string
The debited vendor’s acct_.
number
Amount reversed by this operation.
string
Currency of the operation.
number
Cumulative amount reversed on the allocation. Can never exceed its amount.
string | null
ISO 8601 timestamp.

Create an allocation

Idempotency-Key is optional but strongly recommended: without it, no deduplication is done and a network retry allocates twice.

Parameters

There is no currency field: the currency is that of your wallet.
201
The requested amount was 9,000; the vendor receives 8,910. Under fee_payer = controller, it is the other way round: you are debited 9,090 and the vendor receives 9,000.

Reverse an allocation

Parameters

201
Funds are taken from the vendor’s pending balance, then from their available balance. Your balance is never drawn on: if the vendor cannot return the funds, the reversal is refused with a 402.

Errors