{
"transfer_id": "2a7b9c1d-4e5f-6a70-8b9c-0d1e2f3a4b5c",
"from_account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"to_account_id": "5e6f7a8b-9c0d-1e2f-3a4b-5c6d7e8f9a0b",
"asset": "USD",
"amount": "25.00",
"description": "Expense split",
"status": "completed",
"created_at": "2026-07-07T12:00:00Z",
"idempotency_hit": true
}{
"transfer_id": "2a7b9c1d-4e5f-6a70-8b9c-0d1e2f3a4b5c",
"from_account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"to_account_id": "5e6f7a8b-9c0d-1e2f-3a4b-5c6d7e8f9a0b",
"asset": "USD",
"amount": "25.00",
"description": "Expense split",
"status": "completed",
"created_at": "2026-07-07T12:00:00Z"
}{
"error": "invalid_json",
"message": "request body is not valid JSON: unknown field"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "insufficient_funds",
"message": "account balance is not enough for this operation",
"details": {
"asset": "USDT",
"need": "103.930000",
"available": "80.000000",
"missing": "23.930000",
"need_amount": "100.000000",
"need_fee": "3.930000",
"need_usd": "103.930000",
"available_usd": "80.000000",
"missing_usd": "23.930000",
"need_amount_usd": "100.000000",
"need_fee_usd": "3.930000"
}
}{
"error": "recipient_not_found",
"message": "no account matches that email"
}{
"error": "recipient_unavailable",
"message": "destination account cannot receive transfers"
}Crear una transferencia interna
Mueve saldo entre dos cuentas CBPay, de forma atómica y siempre gratuita — funciona cualquier combinación: persona a persona, persona a empresa, empresa a persona o empresa a empresa. Funciona con los doce saldos virtuales (USD, USDT, USDC, USDCE, BTC, GOLD, SILVER, PLATINUM, BOB, MXN, ARS y CLP) y siempre entre saldos de la misma moneda (sin conversión). El destino se resuelve por to_account_id, to_email, to_phone (solo teléfonos verificados por OTP) o to_contact_id. Cada transferencia guarda al destinatario como contacto automáticamente (desactívalo con save_contact: false). Los suscriptores de webhooks del receptor reciben transfer_received.
{
"transfer_id": "2a7b9c1d-4e5f-6a70-8b9c-0d1e2f3a4b5c",
"from_account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"to_account_id": "5e6f7a8b-9c0d-1e2f-3a4b-5c6d7e8f9a0b",
"asset": "USD",
"amount": "25.00",
"description": "Expense split",
"status": "completed",
"created_at": "2026-07-07T12:00:00Z",
"idempotency_hit": true
}{
"transfer_id": "2a7b9c1d-4e5f-6a70-8b9c-0d1e2f3a4b5c",
"from_account_id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
"to_account_id": "5e6f7a8b-9c0d-1e2f-3a4b-5c6d7e8f9a0b",
"asset": "USD",
"amount": "25.00",
"description": "Expense split",
"status": "completed",
"created_at": "2026-07-07T12:00:00Z"
}{
"error": "invalid_json",
"message": "request body is not valid JSON: unknown field"
}{
"error": "unauthorized",
"message": "invalid or missing credentials"
}{
"error": "insufficient_funds",
"message": "account balance is not enough for this operation",
"details": {
"asset": "USDT",
"need": "103.930000",
"available": "80.000000",
"missing": "23.930000",
"need_amount": "100.000000",
"need_fee": "3.930000",
"need_usd": "103.930000",
"available_usd": "80.000000",
"missing_usd": "23.930000",
"need_amount_usd": "100.000000",
"need_fee_usd": "3.930000"
}
}{
"error": "recipient_not_found",
"message": "no account matches that email"
}{
"error": "recipient_unavailable",
"message": "destination account cannot receive transfers"
}Autorizaciones
Cuerpo
Token opcional de un link de cobro universal para pagarlo directo. El destino se fuerza a la cuenta del link y el monto debe cubrir el due cotizado server-side en el asset elegido (422 checkout_amount_mismatch con el due actualizado si no). Al completar, el link se liquida y auto-convierte a su settlement_asset.