Payouts
GET/business/v0/fondeo
Fund your wallets
Try it live ↓Balance of your source wallets (USDT, CLP, USD), your addresses to deposit USDT per network (BEP20 is created the first time) and the account to fund CLP by bank transfer. In the dashboard (Fondos) you can create addresses on other networks and see how to fund the other currencies.
Endpoint URL#
GET https://sandbox.finanxis.net/business/v0/fondeoHeaders#
| Name | Required | Description |
|---|---|---|
| X-Finanxis-Key | Yes | Your public key (pk_live_… or pk_test_…). |
| X-Finanxis-Timestamp | Yes | Current time in Unix seconds (UTC). ±5 minute window. |
| X-Finanxis-Signature | Yes | hex(HMAC_SHA256(secret, "${timestamp}.${METHOD}.${path_with_query}.${body}")). The body is the exact one you send (empty on GET). The code samples already compute it. |
Examples#
KEY="pk_test_..."; SECRET="sk_test_..."
RUTA="/business/v0/fondeo"; TS=$(date +%s)
BODY=''
FIRMA=$(printf '%s' "$TS.GET.$RUTA.$BODY" | openssl dgst -sha256 -hmac "$SECRET" -hex | awk '{print $NF}')
curl -X GET "https://sandbox.finanxis.net$RUTA" \
-H "X-Finanxis-Key: $KEY" \
-H "X-Finanxis-Timestamp: $TS" \
-H "X-Finanxis-Signature: $FIRMA"Response codes#
| Code | Meaning |
|---|---|
| 200 | Success |
| 500 | Error. Check `data.error.code` and `data.error.como_resolver`. |
| 4xx | Error. Check `data.error.code` and `data.error.como_resolver`. |
Every response has the shape { success, message, data }.
Response#
{
"success": true,
"message": "Cómo fondear tus wallets.",
"data": {
"saldos": [
{
"moneda": "USDT",
"saldo": 1250.5
},
{
"moneda": "CLP",
"saldo": 0
},
{
"moneda": "USD",
"saldo": 0
}
],
"usdt": {
"direcciones": [
{
"red": "BNB Smart Chain (BEP20)",
"codigo": "BSC",
"direccion": "0x5f3c…9a1b"
}
],
"nota": "Envía solo USDT por una de estas redes."
},
"clp": {
"banco": "Banco de Crédito e Inversiones (BCI)",
"titular": "Grupo Finanxis SpA",
"numero": "63804484",
"tipo": "Cuenta Corriente",
"rut": "77.175.135-0",
"email": "transferencias@finanxis.net",
"nota": "Transfiere desde una cuenta a nombre de tu empresa (mismo RUT). Se acredita en tu wallet CLP en 5 a 20 minutos."
},
"otras_monedas": "Para fondear en USD u otras monedas, entra a business.finanxis.net → Fondos."
}
}Errors#
Every error carries data.error.code, what happened and how to fix it.
| HTTP | code | How to fix it |
|---|---|---|
| 500 | ERROR_INTERNO | Ocurrió un error interno.Reintenta con la misma Idempotency-Key. Si persiste, contáctanos indicando el request_id. |
| 400 | PAYOUTS_NO_HABILITADOS | Tu comercio no tiene payouts habilitados.Pide a Finanxis que active los payouts de tu comercio. |
| 401 | AUTH_HEADERS_FALTANTES | Faltan headers de autenticación.Envía X-Finanxis-Key, X-Finanxis-Timestamp y X-Finanxis-Signature en cada petición. |
| 401 | AUTH_FIRMA_INVALIDA | La firma no coincide.Firma HMAC-SHA256 en hex, con tu secreto, sobre: ${timestamp}.${METODO}.${ruta_con_query}.${body_exacto}. Usa el body exactamente como lo envías (mismo orden y espacios) y body vacío en GET. |
| 401 | AUTH_TIMESTAMP_INVALIDO | El timestamp no es válido o está fuera de la ventana permitida.X-Finanxis-Timestamp debe ser la hora actual en segundos Unix (UTC). Se aceptan ±5 minutos: sincroniza el reloj de tu servidor (NTP). |
| 401 | AUTH_LLAVE_REVOCADA | La llave fue revocada.Crea una llave nueva en business.finanxis.net → Llaves de API y actualiza tu integración. |