Generate wallet
Generates a new blockchain wallet of a specified type (master or transit).
The response contains the public key and the private key encrypted with your RSA public key.
Generate Wallet
POST https://api-processing.crypto-chief.com/v1/wallet/generate
Headers
Name
Value
Content-Type
application/json
Signature
Signed request body
Merchant
Merchant ID
Body
Name
Type
Required
Description
type
string
true
Wallet type: "master" or "transit"
Response
{
"uuid": "8c1bd3c3-5c7c-4c1c-9af1-0f2127d8c317",
"type": "master",
"public_key": "0x04f1a9d1c8f2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9",
"private_key_encrypted": "VGhpcy1pcy1hbi1leGFtcGxlLWJhc2U2NC1lbmNvZGVkLVJTQS1lbmNyeXB0ZWQtcHJpdmF0ZS1rZXktYmxvYg=="
}
{
"data": null,
"error": {
"status": 400,
"name": "BadRequestError",
"message": "Bad request, type not allowed",
"details": {}
}
}Last updated