Data Formats

The Flowbrite API formats its data in a consistent way to ensure that it is easy to work with and understand.

Object IDs

All object IDs in the Flowbrite API are represented as ULID strings with an entity prefix and environment identifier.

For example, a ULID for a Client in the Sandbox environment might look like this:

Example Client ID

cli_X01JTK7H3R1HY5EKJEQ5W3MGRF6
  • cli_ is the entity prefix for Client
  • The X after the underscore indicates the Sandbox environment
  • The rest is a ULID.

You will receive a 400 Bad Request response if you attempt to use an ID from one environment in another.

EnvironmentCode
SandboxX
ProductionP
EntityPrefix
ApiKeyak_
Beneficiaryben_
Beneficiary Snapshotbss_
Clientcli_
Client Usercu_
Collection Accountca_
Conversioncon_
Inbound Fundsif_
Jwtjwt_
Linked Funding Accountlfa_
Paymentpmt_
Transactiontxn_
Transfertfr_
Userusr_
Walletwa_

Dates

Assume all dates and times are in ISO 8601 format and in UTC unless otherwise specified.

Format TypeFormat ExampleDescription
Dates Only2024-09-30Date, no time (YYYY-MM-DD)
Dates and Times2024-09-30T10:48:51Date and time (YYYY-MM-DDTHH:mm:ss)
Timestamps2025-06-16T15:30:27.1473615ZDate and time with fractional seconds (YYYY-MM-DDTHH:mm:ss.fffffffZ)

Amounts

Amounts are represented as decimal numbers with a fixed number of decimal places based on the currency (see below).


Currencies

Currency codes (CcyCode) use the 3-letter ISO 4217 standard. Use the Get Currencies endpoint to get additional information about the list of supported currencies.

CodeNameDecimal Places
AEDUnited Arab Emirates Dirham2
AUDAustralian Dollar2
BGNBulgarian Lev2
BHDBahraini Dinar2
CADCanadian Dollar2
CHFSwiss Franc2
CNYChinese Yuan2
CZKCzech Koruna2
DKKDanish Krone2
EUREuro2
GBPBritish Pound2
HKDHong Kong Dollar2
HUFHungarian Forint2
IDRIndonesian Rupiah0
ILSIsraeli New Sheqel2
INRIndian Rupee2
JPYJapanese Yen0
KESKenyan Shilling2
KWDKuwaiti Dinar2
MXNMexican Peso2
MYRMalaysian Ringgit2
NOKNorwegian Krone2
NZDNew Zealand Dollar2
OMROmani Rial2
PHPPhilippine Peso2
PLNPolish Zloty2
QARQatari Rial2
RONRomanian New Leu2
SARSaudi Riyal2
SEKSwedish Krona2
SGDSingapore Dollar2
THBThai Baht2
TRYTurkish Lira2
UGXUgandan Shilling0
USDUnited States Dollar2
ZARSouth African Rand2

Countries

Country codes use the 2-letter ISO 3166-1 alpha-2 standard. Use the Get Countries endpoint to get additional information about the list of supported countries.