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

Sem conteúdo

400

Pedido incorreto

401

Proibido

404

Não encontrado

422

(Entidade não processável) Erros semânticos na solicitação

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