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

Virtual cards emission

The easiest and safest way to start shopping online with your Wallet balance is to emit Virtual VISA Card Numbers (VCNs).

const walletId = '2724434a-22fd-484e-b7da-596ffb1908ca';

// Emit a virtual card assigned to a specific wallet id
const card = await bitcapital.cards().emit('2724434a-22fd-484e-b7da-596ffb1908ca', {
  type: 'virtual'
});

console.log(card.id);

Getting the card information for online purchases


Security Warning

Bit Capital does not store any direct card information in any systems we develop or operate directly, having a strong and robust partnership with local cards processing companies certified with PCI and other security standards that allow them to store safely this kind of information.

Any card data you get from the platform is merely proxied from the processor systems directly through a secure integration.

You are responsible for the security of this data once you've request access to it over the API, being obliged not to store this information in insecure environments and limiting the exposure of this information in end user interfaces.

To get the card number, cvv and expiration for making online purchases, just request the card information based on its ID and the one of the wallet it was assigned to.

const walletId = '2724434a-22fd-484e-b7da-596ffb1908ca';
const cardId = 'eaa94745-ef45-4ba0-8c9f-26e3d69d7a18';

// Gets the virtual card information directly from the processing supplier
cons card = await bitcapital.cards().findOne(walletId, cardId);

console.log(card);

Updated 3 months ago

Virtual cards emission


Suggested Edits are limited on API Reference Pages

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