Bit Capital

The Bit Capital Developer Hub

Welcome to the Bit Capital developer hub. You'll find comprehensive guides and documentation to help you start working with Bit Capital as quickly as possible, as well as support if you get stuck. Let's jump right in!

Guides    API Reference

Phone Verification

After a successful sign up, the first check needed is to verify a mobile phone number. This is mostly for compliance and to ensure the consumer will be able to use security features, such as Two Factor and Account Recovery.

Start by sending the verification code to the mobile phone using SMS:

// TODO: Code snippet
// POST /consumers/:userId/phones/:phoneId/send-token

The response of the request will include the time this code expires, as well as a cool down period in which you won't be able to send another code to the same number.

In your UI, when the user input the code it received, you can verify the phone using the method below:

// TODO: Code snippet
// POST /consumers/:userId/phones/:phoneId/verify

In case of time expiration, you may request a new code repeating the same steps shown above.

Phone Verification

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.