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
Authorization*
ApiKey {{Secretkey}}
Request Body
{
"status": 1,
"message": "",
"data": {
"address": "0xbc7d40320A0593d0cD5D95595a36aE7e82efBc77",
"merchantClientId": "0e64eba8-f568-49d0-83c0-08da1df8b5ff",
"addressGenerationStatus": 1,
"addressGenerationMessage": null,
"addressGenerationTransactionHash": null
}
}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.
status
int
This is a value ranging from 1-3 indicating success, bad request or un-authorized.
message
string
This is a message of why it's successful or not.
data
object
This holds the properties of the client's generated wallet address details.
address
string
This is the wallet address
merchantClientId
string
This is a unique Id for a merchant client.
addressGenerationStatus
int
This is the status value indicating success, bad request or un-authorized of the generated address.
addressGenerationMessage
string
This is the message of indication of the generated address.
addressGenerationTransactionHash
string
This is the generated address transaction hash.
Last updated