Use this endpoint to create a new merchant account on Dubu Pay. You provide your business name, email address, and a password. The API creates the account, generates a six-digit OTP, and sends a verification email to the address you supplied. Your account is not usable until you verify your email usingDocumentation Index
Fetch the complete documentation index at: https://docs.dubupay.com/llms.txt
Use this file to discover all available pages before exploring further.
POST /auth/verify-email.
This endpoint applies a strict rate limit to prevent abuse.
Endpoint
Request body
The registered name of your business. Must be at least 2 characters.
The email address for your merchant account. Must be a valid email. This address is used for verification, notifications, and login — it must be unique across all Dubu Pay accounts.
A password for your account. Must be at least 8 characters. Passwords are stored securely and are never returned in any API response.
Response
HTTP201 Created on success.
true when the account was created successfully.Example
Verify your email
After registering, check your inbox for an email containing a 6-digit OTP. Pass that code toPOST /auth/verify-email along with your email address. Until you do, any attempt to log in will be rejected.
If the email doesn’t arrive within a few minutes, use POST /auth/resend-otp to request a new code.
Error responses
| Status | Code | Description |
|---|---|---|
400 | Validation error | business_name, email, or password failed validation. Check the errors array. |
409 | EMAIL_IN_USE | An account with that email address already exists. |
429 | Rate limit | Too many registration attempts from this IP. Wait before retrying. |