Quickstart

This guide will get you set up and ready to use CoinVoyage within minutes.

Install Package

To get started using CoinVoyage, import @coin-voyage/paykit into your project.

npm i @coin-voyage/paykit @tanstack/react-query@^5.90.6

Head over to CoinVoyage Dashboard arrow-up-right and create an organization. Under the Developer section you’ll find a API key generated tied to the organization. Once you have an COIN_VOYAGE_API_KEY the next section shows you a basic implementation.

circle-info

Users need to create an API key if they haven’t already. You can do so by visiting the CoinVoyage Dashboardarrow-up-right.

Usage

Now that you have your app configured, you can use the PayButton component to allow users to complete a payment or make a deposit to any of their wallets.

Here is an example of basic usage:

Example: add DepositButton component

For more examples, check out the CoinVoyage Demoarrow-up-right or find code examples on our githubarrow-up-right

Last updated