Wallet Setup
Here's some vital information on generating a USDC address for your user.
Our Wallets API supports several chains allowing your users to receive USDC via multiple channels.
When creating a USDC
address, specify what chain you want to receive USDC on and an address would be created. See list of supported chains here.
At the moment, the USD
coin is the only crypto-currency supported on our crypto wallets.
You would also need to provide your users' user id
. This enables us to return to you the crypto addresses associated with any of your users.
TIP:
When building your request to create a USDC address, you'll need to provide these fields:
User_id | Your unique identifier for a user. |
Coin | What coin the wallet can hold (we only support 'USDC' for these wallets). |
Chain | What chain you want to generate the wallet on. |
Ensure inputs for these objects are entered correctly. ⚠️
Generate USDC addresses
Use the /crypto-integrators/address
endpoint to Create USDC address
.
A request sample is shown below.
curl --location --request POST 'https://api-sandbox.spendjuice.com/crypto-integrators/address' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJqdWljZSIsImV4cCI6MTY1MzA4NjMwNCwiaWF0IjoxNjM3NTM0MzA0LCJpc3MiOiJqdWljZSIsImp0aSI6ImI1M2VmZDVjLTdiMjgtNGMxNS04YWZiLTg3ZmNkOTAyOTBhYiIsIm5iZiI6MTYzNzUzNDMwMywic3ViIjoiY3J5cHRvLWludGVncmF0b3I6MDE4ZGM2YjAtMDgzOC00OTYzLWI3MDEtOTUwODllMGE2NjA1IiwidHlwIjoiYWNjZXNzIn0.enxQXtu4bVqR9PMNcrOTuONGHnRN2TNWM2E1JWwtSE-A4L0P1x46af4bTrnUDUVzjFcR8ydc7cCBCOiPZF19Ig' \
--header 'Content-Type: application/json' \
--data-raw '{
"coin": "USD",
"chain": "ETH",
"user_id": "13949503"
}'
The response returns a wallet address uniquely assigned to the user with the user id
inputed into the request.
{
"data": {
"address": "TJBDMhjv4CiDNDeRKvCnwF65gomYVC5sVh",
"chain": "ETH",
"coin": "USD",
"user_id": "13949503",
"id": "11c7823a-fdf5-4d13-9414-11af285403e7",
"balance": "0"
}
}
Updated over 2 years ago