| Values with more than 15 digits are parsed as BigInt and serialized as strings in API responses. This is by design and cannot be changed. |
The rule
- Fewer than 15 digits → parsed as a standard Number, delivered as a number
- More than 15 digits → parsed as BigInt, delivered as a string
Why it cannot be changed
This behavior is permanent for backward compatibility. Multiple publishers already rely on receiving 15+-digit values as strings. Changing the serialization would break their existing integrations.
What to do
Update your award callback and any other receiving code to handle these large ID fields as either a string or a number. Parse them to your internal integer type (e.g. int64, BigInt) on receipt. Do not rely on them arriving as a JSON number if the value has more than 15 digits.
Resources