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

No Content

400

Bad Request

401

Forbidden

404

Not Found

422

(Unprocessable Entity) Semantic errors in the request

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