# `Stancer.API.Disbursements`

# `create`

```elixir
@spec create(map()) :: {:ok, map()} | {:error, term()}
```

POST `/v2/disbursements/`

## Parameters

  * `amount` (integer, optional)
  * `card` (string (matches ^card_[a-zA-Z0-9]{24}$), optional)
    - Example: "card_yWYfCSzsUUhr9KwMv7vuLZHX"
  * `currency` (string (2-3 chars), optional)
  * `cvc` (string (3-4 chars), optional)
  * `date_of_birth` (string (format: date), optional)

# `get`

```elixir
@spec get(String.t()) :: {:ok, map()} | {:error, term()}
```

GET `/v2/disbursements/{id}`

# `list`

```elixir
@spec list() :: {:ok, map()} | {:error, term()}
```

GET `/v2/disbursements/`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
