Transfers between clients
Send BRL or USDT to another Rivus client using their receiving code (format RV-XXXXXX). No fee. Your own code is at GET /v1/transfers/my-code.
Sending transfers requires the withdraw scope (with an IP allowlist).
1. Check the recipient
GET /v1/transfers/recipients/{code} checks the code and returns the recipient with a masked name and the recipient_id.
2. Preview (optional)
GET /v1/transfers/preview?currency=BRL&amount=1500 returns the available balance, the per-transfer cap and whether the amount will need approval.
3. Send
curl -X POST https://api-sandbox.rivusfinance.com/v1/transfers \
-H "Authorization: Bearer $RIVUS_API_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{
"recipient_code": "RV-7K3M9Q",
"currency": "BRL",
"amount": 1500,
"note": "November settlement",
"expected_recipient_id": "<recipient_id from step 1>"
}'
Always send expected_recipient_id: if the code no longer belongs to that recipient, the API responds 409 instead of sending the money to someone else.
status: "concluida": the amount has left your balance and reached the recipient's.status: "pendente": the amount is above the approval cap and is reserved in your balance until the Rivus team approves (transfer.sent) or rejects (transfer.rejected) it.
Whoever receives a transfer gets the transfer.received webhook.