Payments quickstart

Once you have successfully installed one of our integration options, it's time to start working with payments. Our payments quickstart will get you started on the necessary actions associated with payments.

Payment flow

This diagram below illustrates the steps required to return a card token and then use that token to process a payment.

Click on the image to zoom.

Click on the image to zoom.

Payment process

Step 1: Authorize

Pick a method for integrating — there's a couple of different ways you can do it —, then add the code to your page. You'll need to make a few edits here, and change the publicKey to your own. To help, we have added some comments to the code to guide you.
Learn more

Step 2: Actions

  • Action 1: Capture If everything goes as planned, capture should be the final action in a transaction.
    If the merchant is comfortable with the sale and can fulfill the customer's needs, then the merchant will capture the payment, thus finalizing the transaction, and the funds will transfer to the merchant.
    Learn more
  • Action 2: Void . Optional
    If for whatever reason, the merchant is not able to fulfill the needs of the customer, then the merchant can void the transaction. This is the simplest way to cancel a payment. Voiding a payment removes the hold on the funds, and returns them to the customer. The payment is now canceled, and there are no further actions to take.
    Learn more

Step 3: Refund

If a customer changes their mind, or something goes wrong, and the transaction needs to be canceled after capture: a refund is processed. A refund returns the funds to the customer and reverses the sale.
Learn more