cURL
curl --request POST \ --url https://api.g2cplatform.com/v2/auth/wallet/reset \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "username": "<string>", "recoveryCode": "<string>", "newPassword": "<string>" } '
{ "message": "<string>", "timestamp": "2023-11-07T05:31:56Z" }
Reset the password for a wallet using a recovery code. The new password will be set, and the wallet will be active.
API key for authenticating requests. Include in X-API-Key header.
Username in format: @
Recovery code sent via email
New password for the wallet
8
Password reset successful
Success message