Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

bq phone_verify

Liam Jack edited this page Aug 31, 2015 · 3 revisions

Endpoint

/bq/phone_verify

Description

Used to request a phone verification code and use a received phone verification code to verify the account's phone number.

Requesting a phone verification code

Request

  • action: updatePhoneNumber
  • countryCode: (Example: FR)
  • phoneNumber: Phone number without international extension
  • skipConfirmation: true or false
  • timestamp
  • req_token
  • username

Response

  • action: confirm
  • logged: true or false
  • message
  • message_format: The format of the SMS message
  • param: Internationalized phone number, where the SMS was sent to

Verifying a phone number with a phone verification code

Request

  • action: verifyPhoneNumber
  • code: Phone verification code (Example: 736294)
  • type: DEFAULT_TYPE
  • timestamp
  • req_token
  • username

Response

  • logged: true or false
  • message
  • allowed_to_use_cash
  • param: Internationalized phone number that has been verified
Clone this wiki locally