Skip to main content
The Create Direct Wallet Transfer endpoint enables you to initiate blockchain-to-blockchain transfers where the source funds come from an external wallet (not yours) and are deposited directly into one of your Devdraft wallets. This endpoint creates a dynamic transfer that provides source deposit instructions for the sender to follow.

Endpoint Details

  • Method: POST
  • URL: /api/v0/transfers/direct-wallet
  • Content-Type: application/json

Authentication

This endpoint requires API key authentication using both:
  • x-client-key: Your application’s client key
  • x-client-secret: Your application’s client secret

Request Body

Parameters

Supported Networks

  • Solana (solana)
  • Base (base)
  • Ethereum (ethereum)
  • Polygon (polygon)
  • Arbitrum (arbitrum)
  • Optimism (optimism)
  • Avalanche C-Chain (avalanche_c_chain)

Supported Stablecoin Currencies

  • USDC (usdc) - Available on all networks
  • EURC (eurc) - Currently only available on Solana

Response

Success Response (201 Created)

Response Fields

Understanding Source Deposit Instructions

The source_deposit_instructions object is the most important part of the response. It contains the exact information that the external sender needs to complete the transfer.

For Blockchain Networks (Solana, Base, Ethereum, etc.)

Key Fields for Blockchain Instructions

For Bank/Wire Transfers (ACH, WIRE, SEPA)

Key Fields for Bank Instructions

How Source Deposit Instructions Work

1. Dynamic Transfer Creation

When you create a direct wallet transfer, the system:
  • Generates a unique temporary receiving address/account
  • Creates deposit instructions for the sender
  • Sets up monitoring for incoming funds

2. Sender Instructions

You provide the source_deposit_instructions to the external sender, who must:
  • Send the exact currency and amount (specified)
  • Send TO the provided to_address (blockchain) or bank details
  • Include the deposit_message as memo/reference

3. Automatic Processing

Once funds are received:
  • System detects the incoming deposit
  • Automatically converts and transfers to your destination wallet
  • Updates transfer state to completed
  • Provides final receipt with all fees and amounts

Transfer States

Example Requests

Error Responses

Important Notes

  • 0.8% developer fee is automatically applied to all transfers
  • Fee is calculated on the total transfer amount
  • Fee is deducted from the final amount received
  • With amount: Creates fixed amount transfer with specific deposit instructions
  • Without amount: Creates flexible amount transfer allowing variable amounts
  • EURC is currently only supported on Solana network
  • USDC is supported on all networks
  • Cross-network transfers are automatically handled
  • All transfers are monitored in real-time
  • Deposit instructions expire after a set period
  • Failed transfers can be retried or refunded

Use Cases

Customer Deposits

Allow customers to deposit from their external wallets

Cross-Platform Integration

Accept funds from other platforms/exchanges

B2B Payments

Receive payments from business partners

Remittances

International money transfers via stablecoins

DeFi Integration

Receive funds from DeFi protocols

Next Steps

After creating a direct wallet transfer:
1

Provide Instructions

Share source_deposit_instructions with the sender
2

Monitor Status

Poll transfer status or use webhooks for updates
3

Handle Completion

Process successful transfers in your application
4

Error Handling

Implement retry logic for failed transfers
  • GET /api/v0/wallets - List your Devdraft wallets
  • GET /api/v0/transfers/{id} - Check transfer status
  • POST /api/v0/transfers/direct-bank - Create bank-to-wallet transfer