Skip to main content
POST
Create a Crypto Transfer
Use this endpoint to move crypto assets internally from one merchant’s VelaFi custody wallet to another. Internal transfers settle instantly without incurring blockchain gas fees. The sender’s balance shows a negative amount (debit) and the recipient’s balance shows a positive amount (credit). Supply a clientId to enable idempotency — duplicate requests with the same clientId return the original result rather than creating a second transfer.
All requests must include the X-BH-TOKEN header and Content-Type: application/json.

Endpoint

POST https://api.velafi.com/v2/assets/internalTransfer

Request Parameters

number
required
ID of the merchant sending the crypto.
number
required
ID of the merchant receiving the crypto.
string
required
Token symbol to transfer. Supported values: USDT, USDC, BTC, MMXN.
number
required
Amount of the token to transfer.
string
Your unique identifier for this transfer. Used for idempotency.

Response Fields

number
HTTP-style response code. 200 indicates success.
string
Human-readable status message, e.g. SUCCESS.
object

Example

cURL
Response
The amount in the response is negative because it represents the debit on the sender’s account. Use the Query Crypto Transfers endpoint to see both sides of the transfer.