Generate Wallet

This generates a wallet for the merchant. the POST endpoint accepts the ApiKey and a secretKey passed together as the Authorization in the header and on the body, clientEmailAddress , currency and publicKey are passed.

Fetches a wallet address

POST https://localhost:5001/api/v1/walletaddress/generate

This generates a wallet address for the specified currency.

Headers

Name
Type
Description

Authorization*

ApiKey {{Secretkey}}

Request Body

Name
Type
Description

clientEmailAddress*

currency*

BUSD

networkChain*

BSC

publicKey*

YOUR_PUBLIC_KEY

{
  "status": 1,
  "message": "",
  "data": {
    "address": "0xbc7d40320A0593d0cD5D95595a36aE7e82efBc77",
    "merchantClientId": "0e64eba8-f568-49d0-83c0-08da1df8b5ff",
    "addressGenerationStatus": 1,
    "addressGenerationMessage": null,
    "addressGenerationTransactionHash": null
  }
}
Parameters
Type
Definitions

clientEmailAddress

string

Required This is the customer's or client's email address.

currency

enum

Required This is the current supported currencies.

networkChain

string

Required This is the network chain of the currency. It can be BSC, ETH, POLYGON, CELO, ARBITRUM, AVALANCHE & HECOCHAIN.

publicKey

string

Required This is the publicKey of the merchant.

Currency:

BTC = 1

LTC

BNB

USDT

DAI

BUSD

XEND

ETH

POLYGON

Last updated