Generate Wallet
Generates a new cryptocurrency wallet.
Making a Request
The call should be made using the POST method.
URL
/v1/crypto/wallets
Success
If the operation is successful, a JSON response with the status 201 - Created is returned.
HTTP 201 Response Body - Exemple
{
"crypto_wallet": {
"wallet_id": "e16cc838-ac51-4012-8d7a-697cb0bfa16d",
"address": "TLxqaPTgvtUHqqvMmCjGBgVUmpckuvgN2r"
}
}
Errors
In case of errors, a JSON response is returned with the error attribute specifying the reason for the failure.
HTTP 400 Response Body - Exemple
{
"msg": "Operation failed! Please try again or contact our support team"
}
HTTP 500 Response Body - Exemple
{
"error": "Operation failed! Please try again or contact our support team"
}