Transfer funds to a UID
Changed onTransfers funds from the authenticated organization to an Infini UID. Requires fund.withdraw permission.
V1 supports same-currency transfers in USDT, USDC, or USD only. source_currency is optional and defaults to token_type; when supplied, it must equal token_type. The transfer has no fee, so the amount deducted from the sender equals the amount received by the recipient.
request_id is optional. When supplied, it must be a UUID and acts as the idempotency key. A retry by the same organization with an already completed request_id returns status=completed and is_duplicate=true.
Request
- Base URLhttps://openapi.infini.money/v2/funds
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
32-character Base58 credential ID returned after public-key registration.
Unix timestamp in seconds; tolerance is ±300 seconds.
16 cryptographically random bytes encoded as unpadded Base64URL; fresh on every attempt.
SHA-256= followed by standard padded Base64 of SHA-256 of exact request body bytes. Required even for an empty body; included in the signing string.
Use Ed25519 signature="BASE64_SIGNATURE", where BASE64_SIGNATURE is the standard padded Base64 signature. See /docs/en/4-authorization for the exact signing string.
Request body
Example request
{
"request_id": "4b4436ba-90a1-4f26-940d-97177a7a3400",
"recipient_uid": "12345678",
"token_type": "USDC",
"source_currency": "USDC",
"amount": "10.25",
"note": "Customer refund"
}Response
Standard response envelope
Example response
{
"data": {
"request_id": "4b4436ba-90a1-4f26-940d-97177a7a3400",
"status": "completed"
}
}Changes
- breaking
added the new required
headerrequest parameterX-API-Key-ID - breaking
added the new required
headerrequest parameterX-API-Nonce - breaking
added the new required
headerrequest parameterX-API-Timestamp - breaking
the
headerrequest parameterAuthorizationbecame required - breaking
the
headerrequest parameterDigestbecame required - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - warning
deleted the
headerrequest parameterDate
- breaking
- info
endpoint added
- info