Skip to main content
A connected account represents a vendor. Creating it gives them their identity, their organization and their wallet at Yabetoo, but not yet the right to receive money: they must pass verification first.

Headers

Idempotency-Key is required on this route, unlike most Yabetoo endpoints. Creating a vendor is irreversible: without a key, a single network retry would create two permanent vendors, and no endpoint lets you unlink or merge them.

Request body

email is required and must be the vendor’s, not yours. It is the only channel through which Yabetoo reaches the vendor, notably for the confirmation code on their withdrawals.
country and currency are accepted in any case; the API returns them normalised in uppercase.
The country is a business choice, not a copy of yours. It determines the compliance schedule of your vendor’s KYC file. A Congolese marketplace can connect a vendor from another supported country.

Refused fields

Three fields are explicitly rejected with 422 (they are never silently ignored): If you send several of them, they are all named in the same response: you do not have to fix them one field at a time.

Example

Response

201
status: "active" does not mean “ready to collect”. At this point the vendor has no KYC file, no payout destination and no wallet. Nothing can leave their account until they have completed their onboarding. This field only says that the account exists.
The vendor’s environment is inherited from the key used: an sk_test_ can only produce a test vendor. It is then impossible to target a live vendor with a test key: the response is a 401.

Replay

Reusing the same Idempotency-Key returns the same 201 with the same id, within 24 h (response cache) as well as beyond it (uniqueness in the database). You will never create two vendors by accident. A key that is already being processed returns 409 E_IDEMPOTENCY_CONFLICT: retry once the first call has finished.

Errors

Model constraints

The control link is set here and it is immutable. There is no unlinking, and no transfer to another marketplace.
Depth is limited to 1.
Multi-currency is not supported: an allocation or a split between two different currencies is refused with 422 E_CURRENCY_MISMATCH.

Next

Onboarding and verification

Send the vendor their verification link.