---
title: "codespar test"
description: "Sandbox money (test keys only): credit a consumer directly, or mint a Pix charge and settle it"
---

# codespar test

Sandbox money (test keys only): credit a consumer directly, or mint a Pix charge and settle it

3 comandos. Esta página é gerada da árvore de `--help` da CLI publicada, então ela descreve o que você instala, não o que está em `main`.

### `codespar test fund`

`POST /v1/test/fund`

```bash
codespar test fund [options]
```

| opção | o que faz |
|---|---|
| `-q, --query <key=value>` | Query parameter (repeatable) (default: []) |
| `--timeout <ms>` | Per-request timeout in milliseconds |
| `-i, --input <json>` | Request body as a JSON string |
| `-f, --input-file <path>` | Request body from a JSON file |

### `codespar test pix-in`

`POST /v1/test/pix-in`

```bash
codespar test pix-in [options]
```

| opção | o que faz |
|---|---|
| `-q, --query <key=value>` | Query parameter (repeatable) (default: []) |
| `--timeout <ms>` | Per-request timeout in milliseconds |
| `-i, --input <json>` | Request body as a JSON string |
| `-f, --input-file <path>` | Request body from a JSON file |

### `codespar test settle-pix-in`

`POST /v1/test/settle-pix-in`

```bash
codespar test settle-pix-in [options]
```

| opção | o que faz |
|---|---|
| `-q, --query <key=value>` | Query parameter (repeatable) (default: []) |
| `--timeout <ms>` | Per-request timeout in milliseconds |
| `-i, --input <json>` | Request body as a JSON string |
| `-f, --input-file <path>` | Request body from a JSON file |
