Beam logo

Beam's Code Conventions

Amount

The amount in the API requests is always in the smallest unit of the currency. For example, for THB:

{
  "amount": 10000,
  "currency": "THB"
}

means 100.00 THB (100 baht).

Timezones

The API uses the ISO 8601 format for date and time. All timestamps are in UTC and should be formatted as follows:

{
  "expiry": "2025-06-05T16:08:31.240964+07:00"
}

Here, +07:00 indicates the timezone offset from UTC in Thailand, which is UTC+7.