Creating a user

Creating a merchant account

Create sign up request.

POST https://api.ozurapay.com/users/register-merchant

Creates a new merchant registration and sends back bearer token.

Request Body

Name
Type
Description

email*

string

Email of new merchant account

password

string

Password of new merchant account

name

string

Name of account holder

phoneNo

string

Business phone number

businessName

string

Entity name

website

string

Business site

{
    "data": {
        "id": "6690m187f80461a95af20f2c",
        "name": "John Doe",
        "email": "[email protected]",
        "role": "merchant",
        "token": "eyPnoGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY2OTBiNDg3ZjgwNDYxYTk1YWYyMGYyYyIsIm5hbWUiOiJkYmZkZmcgYmRmYmRmYiIsImVtYWlsIjoieXVnZXNuQG96dXJhcGF5LmNvbSIsInJvbGUiOiJtZXJjaGFudCIsImlhdCI6MTcyMDc1OTQzMiwiZXhwIjoxNzIxNjIzNDMyfQ.ol_qh3zXr-uGmBzgZmS8A5yN-SxLtXlijFEsjOdgYew",
        "depositAddress": "0xM99220EE1496A532eBdF7c7A4D40cbAD8C8D0BCF"
    },
    "code": 200,
    "message": "Merchant successfully registered"
}

Good to know: You can either create your account using dashboard.ozurapay.com or use above API.

Creating a payment widget

Last updated

Was this helpful?