Rocketfuel Blockchain
  • Welcome to Rocketfuel
  • Core Concepts
    • Overview
    • Partners
    • Merchants
    • Shoppers
    • Exchanges
    • QR Payments
    • Bank Payments
    • Invoices
    • Settlements
  • Plug-ins and SDKs
    • Bigcommerce
    • Magento
    • PrestaShop
    • WooCommerce
    • Webflow
    • Web SDK
  • Developer Guides
    • Overview
    • Quick Start
    • API Reference
      • PayIns
        • Overview
        • Encryption Algorithm
          • Public Key Based
          • Secret Key Based
        • Authentication
          • Authenticate a merchant
          • Authentication Without Email / Password
        • RocketFuel UI Integration
          • Generate Invoice Link
          • Payment Processing
            • RKFL Payment Page
            • RKFL Payment Widget
          • Transaction Lookup
            • Lookup using Auth
            • Lookup using Public Key
          • Webhooks
          • Handling Partial Payments
        • Custom UI Integration
          • Cryptocurrencies listing
          • Generate QR Code
          • QR Payment Status
          • Transactions Lookup
          • Webhooks
          • Handle Partial Payment
        • Utility APIs
          • Subscriptions/Recurring Payments
          • Store info
          • Shopper
            • Shopper manual signup
            • Verify shopper's email id
            • Shopper manual login
            • Shopper info
            • Shopper wallet balance
          • Exchange Payment
            • Exchanges listing
            • Pre-payment validation check
            • Payable amount
            • Trigger Exchange payment
          • Transaction listing
          • Order info
      • Payout
        • Overview
        • Add Payee
        • API Guide
        • Webhooks
    • Swagger API
  • Integrations
    • RocketFuel Integration
      • Objective
      • Target Audience
      • Product Feature overview
      • "How To" Guide
        • Sign up as a Merchant
        • KYC Verification
        • Using the RocketFuel API for Custom Integration
        • Using the RocketFuel Pre-built Solutions for Custom Integration
        • How to Use Testnet for Transactions
      • FAQ and Tips
  • Web UI
  • User Guide and Help Videos
    • White Label Requirements
    • ACI Merchant Onboarding Document (Certification)
    • Merchant User Guide
      • Sign-up Process
      • Sign-in Process
      • Merchant Dashboard
      • Transactions
      • Shoppers
      • Reports
      • Invoices
      • Users
      • Funds
      • Bank/ACH Payments
      • Instore
      • Settlements
      • Subscriptions
      • Release Notes
      • Verification
      • Help/FAQ
      • Plugins
        • How to Setup RocketFuel on Different plugins
        • How to Use Rocketfuel With Different SDKs
      • Settings
    • Shopper User Guide
      • Dashboard
      • Purchases
      • Profile
      • Exchange
      • Bank/ACH Payments
      • Help/FAQ
      • Settings
      • Subscriptions
    • Partner User Guide
      • Dashboard
        • How to Invite Merchants
        • How to Generate Auth Header for Merchants
      • Transactions
      • Refunds
      • Shoppers
      • Merchants
      • Reports
      • Subscriptions
      • Payment Settings
      • Settings
      • Release Notes
    • Super Partner Guide
      • Overview
      • How to Invite Partners
  • Release Notes
    • Change Log
Powered by GitBook
On this page

Was this helpful?

  1. Developer Guides
  2. API Reference
  3. PayIns
  4. Utility APIs
  5. Shopper

Shopper wallet balance

PreviousShopper infoNextExchange Payment

Last updated 2 years ago

Was this helpful?

This API is NOT a core element of the payment flow. However, this helps to make a user-friendly payment solution.

In case of exchange payment, the merchant website can display the shopper's wallet balance in the wallet listing. The wallet balance can show in the cryptocurrency and/or USD

This API returns the wallet listing enabled by the partner and the merchant. With the help of this API, the shopper will have information on his wallet balance and can avoid choosing the wallet whose balance is lower than the order amount.

In the below screenshot, please note the wallet listing of the connected OKcoin exchange where the wallet balance is showing for Litecoin in 0.00021890 LTC and 0.01 USD

GET /exchanges/check-balance/{exchange_name}?merchantId={RKFL_merchantId}

Headers

Name
Type
Description

Authorization*

String

"Bearer" + shopper access token

Content-Type

String

application/json

{
  "ok": true,
  "result": {
    "message": "Updated now!/partner enabled currencies/merchant enabled currencies",
    "accounts": [
      {
        "id": "LTC",
        "accountId": "1ff90cc5-9d7b-5665-8861-3159f60415f1",
        "balance": "0.00021890",
        "currency": "LTC",
        "lastUpdate": "2022-07-01T18:56:10.460Z",
        "fullTitle": "Litecoin",
        "currentRate": "51.005",
        "logo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/ltc.svg",
        "mobileLogo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/mobile/currencies/ltc.png"
      },
      {
        "id": "ETH",
        "accountId": "a65fa908-9dd6-5810-866c-e6540038e5a6",
        "balance": "0.00000073",
        "currency": "ETH",
        "lastUpdate": "2022-07-01T18:56:10.460Z",
        "fullTitle": "Ethereum",
        "currentRate": "1067.785",
        "logo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/eth.svg",
        "mobileLogo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/mobile/currencies/eth.png"
      },
      {
        "id": "XRP",
        "accountId": "93a7b451-2f5e-5974-903d-6031c31ddb96",
        "balance": 0,
        "currency": "XRP",
        "lastUpdate": "2022-07-01T18:56:10.448Z",
        "fullTitle": "XRP",
        "currentRate": "0.313031",
        "logo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/xrp.svg",
        "mobileLogo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/mobile/currencies/xrp.png"
      },
      {
        "id": "LINK",
        "accountId": "d2759824-b198-5a02-a260-4f4365c70221",
        "balance": 0,
        "currency": "LINK",
        "lastUpdate": "2022-07-01T18:56:10.454Z",
        "fullTitle": "Chainlink",
        "currentRate": "6.07",
        "logo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/link.svg",
        "mobileLogo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/mobile/currencies/link.png"
      },
      {
        "id": "ALGO",
        "accountId": "c290ea3b-fe5a-5c85-9d1f-02857250bd91",
        "balance": 0,
        "currency": "ALGO",
        "lastUpdate": "2022-07-01T18:56:10.455Z",
        "fullTitle": "Algorand",
        "currentRate": "0.30629999",
        "logo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/algo.svg",
        "mobileLogo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/mobile/currencies/algo.png"
      },
      {
        "id": "BTC",
        "accountId": "fe04f6bf-c7e0-549c-b8f1-3a16d120d3e0",
        "balance": 0,
        "currency": "BTC",
        "lastUpdate": "2022-07-01T18:56:10.459Z",
        "fullTitle": "Bitcoin",
        "currentRate": "19391.42999998",
        "logo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/btc.svg",
        "mobileLogo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/mobile/currencies/btc.png"
      },
      {
        "id": "WBTC",
        "accountId": "823073dd-0544-5505-9f43-0c1087b8f46f",
        "balance": 0,
        "currency": "WBTC",
        "lastUpdate": "2022-07-01T18:56:10.459Z",
        "fullTitle": "Wrapped Bitcoin",
        "currentRate": "19416.87500001",
        "logo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/wbtc.svg",
        "mobileLogo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/mobile/currencies/wbtc.png"
      },
      {
        "id": "USDC",
        "accountId": "9304c6ce-0127-5234-a5a5-2fd9cbe4cad5",
        "balance": 0,
        "currency": "USDC",
        "lastUpdate": "2022-07-01T18:56:10.460Z",
        "fullTitle": "USD Coin",
        "currentRate": "1",
        "logo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/usdc.svg",
        "mobileLogo": "https://rocketfuel-assets.s3.amazonaws.com/assets/coins/mobile/currencies/usdc.png"
      }
    ]
  }
}

The value of exchange_name are "coinbase/okcoin/kraken/gemini/binanceus"