---
updatedAt: 2025-11-12T14:13:25.000Z
agentTools:
  projectIndex: https://docs.bamboopayment.com/llms.txt
---

# Data Types

Understand the required data types for integrating with Bamboo, including formats for strings, numbers, amounts, dates, and transaction fields.

[comment]: <> "TAM nos dio feedback que esta página es MUY relevante para comenzar la integración. Haría falta revisar los transaction status, porque esto aplica solo para Payins y no para Payouts."

This page describes the main data types used across Bamboo’s API for request and response parameters.

<Callout icon="📘" theme="info">
  These definitions apply primarily to **Payins**. Some data types (e.g. `Amount`, `Timestamp`) may differ in Payout operations. Always refer to the respective API guide for each product.
</Callout>

<br />

### String

Represents a sequence of characters. Strings must be encoded in UTF-8. Maximum length is defined per field in the API reference.

Example values:

* `"Juan"`
* `"Compra 001"`
* `"USD"`

<br />

### Numeric

Represents a positive integer. Length can be restricted using square brackets (e.g. `Numeric[3]` = max 3 digits).

Examples:

* `123` → ✅ Valid for `Numeric[3]`
* `1004` → ❌ Invalid for `Numeric[3]`

<br />

### Amount

Special type of `Numeric` used to express monetary values.

Amounts must be sent **without punctuation** and include exactly **two decimal places**, even when zero.

| Value (human-readable) | Coded as |
| ---------------------- | -------- |
| 100                    | `10000`  |
| 1,237.52               | `123752` |
| 3,200.5                | `320050` |
| 0.01                   | `1`      |

> Always express the amount in **minor currency units** (e.g. cents).

<br />

### Timestamp

Represents a full date and time with milliseconds.

`"YYYY-MM-DDTHH:mm:ss.ttt"`

> **Where:**
>
> * `YYYY` *indicates the year*
> * `MM` *indicates the month*
> * `DD` *indicates the day*
> * `T` *indicates the beginning of the required time section*
> * `hh` *indicates the hour (from 0 to 23)*
> * `mm` *indicates the minutes*
> * `ss` *indicates the seconds*
> * `ttt` *indicates the milliseconds*

Below are examples of how values should be codified:

| Value                     | Coded as                  |
| ------------------------- | ------------------------- |
| *2016/01/12 13:21:48.354* | `2016-01-12T13:21:48.354` |
| *2016/03/31 05:17:00.000* | `2016-03-31T05:17:00.000` |
| *2016/11/28 22:59:59.970* | `2016-11-28T22:59:59.970` |

<br />

### Date

This data type contains an exact date. Unlike the [TimeStamp](#timestamp) data type, it does not include hours and is in the following format:

`yyyyMMdd`

<br />

### Boolean

This data type is a logical value (`true` or `false`).

<br />

### Enum

Represents a field with a restricted set of string values.

Example:

* `Status`: `"APPROVED"`, `"REJECTED"`, `"PENDING"`

Each enum is documented in the field description or API reference.

<br />

### Object

Complex field containing nested subfields. Objects follow JSON structure and may contain other types (e.g. strings, booleans, or arrays).

Example:

```json
"Customer": {
  "FirstName": "María",
  "Email": "maria@example.com"
}
```

<br />

***

<br />

## What’s Next?

<Cards columns={3}>
  <Card title="Payins Guide" href="payment-methods#/" icon="fa-arrow-down">
    Accept payments via cards, cash, and local bank transfers.
  </Card>

  <Card title="Payouts Guide" href="payouts-overview#/" icon="fa-arrow-up">
    Send funds to bank accounts and wallets across supported countries.
  </Card>

  <Card title="Gateway Guide" href="uy-gateway#/" icon="fa-plug">
    Connect directly with local acquirers in Argentina and Uruguay to process payments
  </Card>

  <Card title="MCP Server" href="mcp#/" icon="fa-cloud">
    Connect AI tools to Bamboo’s API and documentation using MCP.
  </Card>

  <Card title="Postman Collection" href="test-our-services#/" icon="fa-rocket">
    Simulate real payment flows and test API requests without coding.
  </Card>

  <Card title="API Reference" href="reference/authentication#/" icon="fa-code">
    Explore all endpoints and schemas in the Bamboo API.
  </Card>
</Cards>