Skip to main content
POST
/
auth
/
wallet
/
reset
Reset Wallet Password
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"
}

Authorizations

X-API-Key
string
header
required

API key for authenticating requests. Include in X-API-Key header.

Body

application/json
username
string
required

Username in format: @

recoveryCode
string
required

Recovery code sent via email

newPassword
string
required

New password for the wallet

Minimum string length: 8

Response

Password reset successful

message
string
required

Success message

timestamp
string<date-time>
required