⚡️ Instant Capa Links
Simplest way to onboard your users into Capa without an API integration
Overview
The Instant Link Service provides a simple and efficient way to facilitate cryptocurrency on-ramping and off-ramping for your users. By using parameterized URLs, partners can direct their users to specific on-ramp or off-ramp pages with pre-filled information, making the process smoother and reducing user friction. These links can be customized to meet specific requirements, such as the choice of cryptocurrency, fiat currency, blockchain network, and more.
Available Services:
- On-Ramp: Allows users to purchase cryptocurrency using local fiat currencies.
- Off-Ramp: Allows users to sell their cryptocurrency and receive local fiat currencies.
On Ramp
The On-Ramp link directs users to a page where they can purchase cryptocurrency with fiat currency. Partners can customize the parameters to pre-select the desired options.
Endpoint:
Blockchains/Tokens
BlockchainToToken Endpoint On Ramp
Off Ramp
The Off-Ramp link directs users to a page where they can sell their cryptocurrency and receive fiat currency in return. As with the On-Ramp link, parameters can be pre-filled to streamline the process for the user.
Endpoint:
Blockchains/Tokens
BlockchainToToken Endpoint Off Ramp
Parameters:
- crypto (string): The cryptocurrency the user wishes to purchase (e.g., USDC, USDT, ETH).
- blockchain (integer): The blockchain ID for the transaction (e.g., 10 for Polygon). To get a list of all of the blockchains and tokens user.
- fiat (string): The fiat currency the user will use MXN or DOP
- amount (integer): The amount of cryptocurrency to be purchased.
- partnerId (string): Partner identifier for tracking purposes.
- externalUserId(string): Partner's Internal User ID
- wallet (string): The user’s wallet address where the purchased crypto will be deposited.
Examples
https://capa.fi/buy?crypto=USDC&fiat=MXN&blockchain=10&amount=100&partnerId=ee5e4810-acdb-431e-a21e-6cb92fc810b1&externalUserId=abc&wallet=0x85fE9a50f74b048A26301A7B052cE2F92da6Bf00
Breakdown:
- crypto=USDC: The user is purchasing USDC.
- fiat=MXN: The user is using Mexican Pesos to purchase the cryptocurrency.
- blockchain=10: It uses the chain id to determine the blockchain, the transaction will occur in Polygon
- amount=100: The user is purchasing 100 USDC.
- partnerId=ee5e4810-acdb-431e-a21e-6cb92fc810b1: The partner identifier, used for tracking the source of the transaction.
- externalUserId=abc: The id of the user which can be identified by the partner
- wallet=0x85fE9a50f74b048A26301A7B052cE2F92da6Bf00: The purchased USDC will be sent to this wallet address.
Updated 5 months ago