This documentation is created for Cardtonic Business Users Cardtonic
{
"otp": "8179",
"token": "433ccf537425e1f4064244bb9852b317f46886b163624aebe37e5680a02761f63caaeced7252c43724de070270e9f43a0be4cd81dbd3c91bc7b1fbd7fb38eb08",
"password": "Password1#"
}
curl --location --request POST 'https://api.cardtonic.com/v1/auth/reset-password' \
--header 'X-Tonic-Env: development' \
--header 'Content-Type: application/json' \
--data-raw '{
"otp": "8179",
"token": "433ccf537425e1f4064244bb9852b317f46886b163624aebe37e5680a02761f63caaeced7252c43724de070270e9f43a0be4cd81dbd3c91bc7b1fbd7fb38eb08",
"password": "Password1#"
}'
{
"success": false,
"message": "validation errors",
"meta": {
"settings": {}
},
"errors": [
{
"message": "password must contain 8 characters and at least 1 number, 1 uppercase, and 1 lowercase letter",
"field": "password",
"location": "body"
},
{
"message": "provide the token",
"field": "token",
"location": "body"
},
{
"message": "provide the otp",
"field": "otp",
"location": "body"
}
]
}