Gyvar docs

Pay a beneficiary in local currency

Converts from your Bitcoin or stablecoin balance and pays out in local currency, in one call. `amount_minor` is what leaves your wallet. Set `min_settlement_amount_minor` to have the payout refused, with nothing debited, if the recipient would get less (`slippage_exceeded`). Pay a saved recipient by `beneficiary_id`, or a new one by `destination`. Some corridors also need a `sender`. To pay by sending the money in instead of from your wallet, add `funding: {"method": "deposit", "chain": "tron"}`. The response gives an address (or a Lightning invoice) in `funding.pay_to`. Send exactly `amount_minor` of `asset` there before `funding.expires_at`, and the payout goes out once it arrives. Follow it with Get a payout. If the rate has fallen below `min_settlement_amount_minor` by then, the payout is not sent and the money goes to your wallet. If you leave it out, the floor is a little under the quote.

POST
/payouts

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.

beneficiary_id?string

A saved recipient. Send this or destination, not both.

Formatuuid
destination?

A new recipient's account details, instead of beneficiary_id. Checked like a saved recipient, including name lookup where the corridor has it, but not saved. To save one for reuse, use Create a beneficiary.

asset*string
amount_minor*integer

Wallet debit, in the asset's minor units.

min_settlement_amount_minor?integer

Optional. The least the recipient must receive, in the corridor currency's minor units, or the payout is refused.

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
sender?

Who the payout is on behalf of, for corridors that require it - the corridor's sender field lists the keys. Omit it to use your own account details. For Rwanda: {"account_name": "Aline Uwase", "country": "RW", "address": "KG 7 Ave, Kigali"}.

customer_id?string

Optional. The customer this payout is for.

Formatuuid
funding?

Optional. Pay by sending the money in instead of from your wallet.

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/payouts" \  -H "Idempotency-Key: 9f1c2f7e-3a55-4a1f-9d3f-6f6a0f4e51b2" \  -H "Content-Type: application/json" \  -d '{    "asset": "USDC",    "amount_minor": 10500000  }'
{  "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"  }}