Xsolla-logo
  • 文档
  • 创建帐户

Confirmation of request to link phone number to the userClient-side

post/users/me/phone_link/confirm
  1. Call the method /users/me/phone_link/request
  2. Put your phone number in the body of the request
  3. Then u will receive the sms code
  4. Call method /users/me/phone_link/confirm with the code
SecurityBearer
Request
Request Body schema: application/json
phone_number
required
string
operation_id
required
string
code
required
string
Responses
204

无内容

400

错误的请求

401

被禁止

404

未找到

422

(不可处理的实体)请求中存在语义错误

Request samples
application/json
{
  • "code": "1234",
  • "operation_id": "1ks4las34g",
  • "phone_number": "+1234567890"
}
Response samples
application/json
{
  • "error": {
    }
}