Currency
Tilta represents currencies using ISO 4217 three-letter codes. Always pass the currency as an uppercase string.Monetary amounts
All monetary amounts are expressed in minor units (the smallest denomination of the currency) as defined by ISO 4217. For euros and most other currencies, one major unit equals 100 minor units (cents).
Always pair an
amount field with its corresponding currency field in the same object:
Dates and timestamps
Tilta uses Unix timestamps expressed in seconds (not milliseconds) for all date and time fields. Convert any ISO 8601 datetime to a Unix second-precision integer before including it in a request.If you pass a timestamp in milliseconds by mistake, Tilta will interpret the date as being far in the future (~year 47,000). Always divide millisecond timestamps by 1000 before sending.
Character encoding
All request and response bodies must be encoded in UTF-8. Set yourContent-Type header accordingly:
External IDs
External IDs are the identifiers you assign to buyers, merchants, orders, and other resources. Tilta stores and returns these IDs so that you can correlate Tilta records with records in your own systems without maintaining a separate mapping table. Rules for external IDs:- Must be unique per resource type in your Tilta account (e.g., every buyer must have a distinct external buyer ID).
- Should match the primary key or stable identifier you already use in your system (e.g., your database row ID or UUID).
- Are treated as opaque strings by Tilta – you may use any alphanumeric characters, hyphens, or underscores.
- Cannot be changed after the resource is created.