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": {
    }
}