× Process Transactions: Basic Steps

Block.io does not control your addresses, you do. You use the Blockchain to process your own assets.

Processing a transaction on your website takes only a few steps:

When a user owes you coins, create an address on Block.io for them by calling get_new_address. You can use a label to identify this transaction. For instance, get_new_address with label=useridXdonutsXdate. The get_new_address call will generate a new transaction address. Give them the new address so they can send you coins/assets. You can now check if the user has sent the transaction by calling get_address_balance for the above label. If the coin balance returned is the amount you requested from your user, you can give them their merchandize. Simple.

When presenting the address to your user for the transaction, it is best to use a QR Code to make the process simpler for them. You can generate QR code using various libraries, including this one for Javascript.