BEEE API Reference

The public REST API is served under https://beeeproject.com/api and returns JSON. The machine-readable description is the OpenAPI spec.

Public endpoints

MethodPathWhat it does
GET/api/banksList Nigerian bank codes
POST/api/validate-partnerValidate a partner referral code and return the discounted amount
POST/api/registerCreate a registration
POST/api/register-init-paymentStart a Paystack payment for a registration
POST/api/verify-paymentVerify a payment and confirm a registration
GET/api/user/check?email=Check whether an email is already registered

Authenticated endpoints

MethodPathWhat it does
POST/api/auth/signupCreate an account and start a session
POST/api/auth/loginSign in and start a session
POST/api/auth/logoutEnd the session
POST/api/become-partnerUpgrade the signed-in user to a partner
POST/api/partner/signupRegister as a partner
POST/api/partner/settingsUpdate partner settings
POST/api/partner/set-codeSet or change a partner code

Authentication and payment verification are described on the authentication and webhooks pages.