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 (Sin contenido)

400

Bad Request (Solicitud errónea)

401

Forbidden (Prohibido)

404

Not Found (No encontrado)

422

Unprocessable Entity (Entidad no procesable) Errores semánticos en la solicitud

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