B2B Partner API

Get Wallet Address

Get your deposit wallet address.

GET/api/1/b2b/wallet

Request

curl -X GET "https://api.sproutfi.xyz/api/1/b2b/wallet" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

{
  "code": 0,
  "msg": "success",
  "data": {
    "wallet_address": "0x1234567890abcdef1234567890abcdef12345678",
    "currency": "USDC",
    "chain": "Base"
  }
}

Response Fields

ParameterTypeDescription
wallet_addressstringYour Sprout wallet address on Base
currencystringCurrency to send (always USDC)
chainstringBlockchain network (always Base)

How Deposits Work

This endpoint returns your wallet address for deposits. Simply transfer USDC to this address on Base chain. The deposit will be automatically detected and credited to your account.

Deposit Flow

  1. Call this endpoint to get your wallet address
  2. Transfer USDC to the wallet address on Base chain
  3. Deposit is automatically detected (1-2 minutes)
  4. Check your balance using GET /api/1/b2b/balance

Important

  • Only send USDC - other tokens will not be credited
  • Only use Base chain (Chain ID: 8453)
  • USDC contract: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913