Cion Digital Developer Portal
  • Getting Started
    • Introduction
    • Overview
  • Fundamentals
    • General Information
      • Supported Countries
      • Cryptocurrencies & Rates
      • Cryptocurrency Wallet Management
      • Network Fees
    • Architecture
    • Setup
      • Bank Accounts
      • Crypto Wallet
  • Platform Capabilities
    • Glossary
    • Foundation
      • User Management
        • Multi-Rooftop
      • Onboarding
      • Funds Management
        • Fiat Fund Management
        • Crypto Fund Management
    • Crypto Payments
      • Offline Stores
        • Stand-Alone
        • Integrated with PoS
    • Crypto Loans
      • Borrower Features
        • Loan Offer(s)
        • CeFi Loan
          • Loan Application
          • Lenders
        • DeFi Loan
          • Loan Application
          • DeFi Protocols
          • Loan Servicing
        • Integration with PoS
  • Industry Solution
    • Merchants
    • Distributors
    • OEM Partners
      • Crypto Payment Integration
      • Crypto Loans Integration
    • Exchanges
      • JSON RPC Methods
        • Funds Transfer
        • Confirming the Funds Transfer
  • Training, Tools & Libraries
    • FAQs
      • Dealership Payments Onboarding
      • Crypto-Secured Loans
Powered by GitBook
On this page
  1. Industry Solution
  2. Exchanges
  3. JSON RPC Methods

Funds Transfer

The Cion Digital platform calls the Funds Transfer method whenever the user clicks any of the following buttons, selects cryptocurrency (if applicable), and enters the amount.

  • Deposit Collateral

  • Withdraw Collateral

  • Take Loan

  • Repay Loan

params object:

Key

Value

user_id

Unique ID to identify your user

funds_transfer_type

Enum as explained in the enums section

currency

Currency to be transacted

blockchain

Blockchain on which transaction is meant to be executed

address

Address where funds should to be transferred (applicable only in case of collateral deposit and loan repayment)

amount

Amount to be transacted

timestamp

Time at which this request was generated by our server

Example params object:

{
    "user_id": "123",
    "funds_transfer_type": "collateral_deposit",
    "currency": "eth",
    "blockchain": "ethereum",
    "address": "0x5Bd7897dFe0ED054E6a18d2bBa4e655BBC5B4B56",
    "amount": 0.5,
    "timestamp": 1658297274725
}

Response result object:

Key

Definition/meaning

message

Response Message

fieldLabel1

OTP form field label 1 (required)

fieldLabel2

OTP form field label 2

Example response result:

{
    "message": "Please enter OTP codes sent to you email and phone",
    "fieldLabel1": "Email OTP",
    "fieldLabel2": "Phone OTP"
}

PreviousJSON RPC MethodsNextConfirming the Funds Transfer

Last updated 2 years ago