Create Celo Wallets

This endpoint allows you to create Celo wallets.

To create a Celo wallet for a user, the /wallet/create-celo-wallet API endpoint requires two parameters in the request:

  1. userEmail - The email address of the user for which you want to create the wallet. This links the wallet to their account.

  2. blockChainSupported - Specify 'Celo' to indicate the wallet should be created on the Celo blockchain.

POST https://dev-api.altra.click/wallet/create-celo-wallet

Request Body

NameTypeDescription

userEmail*

Required

blockChainSupported*

String

// Create Celo wallet for user
{  
      "userEmail": "user@gmail.com"
      "blockChainSupported": "Celo" 
}

The wallet creation API request will return a wallet address that can send and receive CUSD and CELO on the Celo blockchain.

Specifically, the response will contain:

  • walletAddress - The public Celo address tied to the created wallet.

  • asset - CUSD and CELO, the supported tokens on this wallet.

Once a wallet is created successfully, users can top up the address by depositing CUSD or CELO tokens on Celo blockchain.

Last updated