Confirm Phone Number
Developing
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"phone_number": "string",
"otp": "string",
"request_code": "string"
}
Request Code Samples
curl --location --request POST 'http://petfen-account.local.com:8081/api/v1/seller/confirm-phone' \
--header 'X-Auth-Service: Bearer ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone_number": "string",
"otp": "string",
"request_code": "string"
}'
Responses
application/json {
"success": true,
"register_code": "",
"account_exist": true,
"shop_exist": true,
"shop_info": {
"id": 4,
"name": "Cửa hàng thú cưng",
"slug": "catdog",
"avatar": ""
}
}
Modified at 2025-09-16 04:14:36