> ## Documentation Index
> Fetch the complete documentation index at: https://docs.meru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Crear payin

> Crea un nuevo payin.

### Cuerpo

<ParamField body="externalId" type="string">
  Id de referencia del cliente (debe ser único por empresa).
</ParamField>

<ParamField body="onBehalfOf" type="string" required>
  Referencia del usuario/cliente.
</ParamField>

<ParamField body="amount" type="number" required>
  Monto a pagar.
</ParamField>

<ParamField body="developerFee" type="number">
  Monto opcional de comisión del desarrollador.
</ParamField>

<ParamField body="source" type="object">
  Detalles de origen (opcional).
</ParamField>

<ParamField body="destination" type="object" required>
  Detalles del destino.
</ParamField>

<ParamField body="deductFromBalance" type="boolean">
  Indica si se descuenta del saldo.
</ParamField>

### Respuesta

Devuelve un objeto payin.

### Respuestas de error

<ResponseExample>
  ```json 409 theme={null}
  {
    "success": false,
    "error": "externalId was already used"
  }
  ```
</ResponseExample>
