Create Wallet
The "Create Wallet" endpoints allows for the creation of a Xerial Wallet to a specified user in the xerial database.
Overview
Body
Header
Field: Authorization
Value:
Bearer + (Access token)
Responses
Success (Code 200)
Media Type: application/json
Example Value: An object containing the all information about the wallet.
Usage
Send a POST request to the
/wallet/{userId}
endpoint to create a wallet for the user.Handle the response accordingly based on success, unauthorized access or internal server error.
Note: Ensure the user is authenticated before making the request.
Last updated