Gyvar docs

Send on-chain

Sends BTC, USDT or USDC to an address on a chain. `amount_minor` is in the asset's minor units.

POST
/transfers

Authorization

KeyID Timestamp Nonce Signature
X-Gyvar-Key<token>

Your key id, gyv_k_live_... or gyv_k_sandbox_....

In: header

X-Gyvar-Timestamp<token>

Unix seconds. Must be within 5 minutes of our clock.

In: header

X-Gyvar-Nonce<token>

A unique value per request. Replays are rejected.

In: header

X-Gyvar-Signature<token>

Ed25519 signature over the canonical string. See the Signing guide.

In: header

Header Parameters

Idempotency-Key*string

Unique per payment. Retrying with the same key returns the same order.

Lengthlength <= 255

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

asset*string
chain*Chain

A chain that can hold a receive address. Lightning uses invoices instead.

Value in

  • "bitcoin"
  • "tron"
  • "ethereum"
  • "polygon"
  • "solana"
  • "base"
  • "bsc"
amount_minor*integer
address*string
memo?string

Only for a network whose addresses take a memo. Refused with memo_not_accepted on any other. No network we send on takes one today.

reason?string

Optional. Your own note on this payment, such as March salary. Kept with the payment and returned on it; not sent to the recipient.

Lengthlength <= 255
customer_id?string

Optional. The customer this payment is for.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/transfers" \  -H "Idempotency-Key: 9f1c2f7e-3a55-4a1f-9d3f-6f6a0f4e51b2" \  -H "Content-Type: application/json" \  -d '{    "asset": "USDC",    "chain": "bitcoin",    "amount_minor": 10500000,    "address": "string"  }'
{  "data": {    "id": "3c8e1f2a-6b4d-4e7a-9f1c-0d2b5a8e7c41",    "reference": "SEND_USDT_TBJWZFYIYTM3KPF5",    "status": "pending",    "currency": "USDT",    "amount": "50.000000",    "amount_minor": "50000000",    "fee": "0.000000",    "fee_minor": "0",    "created_at": "2026-08-28T09:12:40Z"  }}