Skip to main content

Fields

data : GenericScalar

The raw template context used to render the bill representation. Returns null if the context data is unavailable.

schema : GenericScalar

The schema defining the expected structure of the data field. This is populated when the schema type is 'STRICT', and empty when the schema type is 'NONE'.

schemaType : String

The level of explicit structural typing applied to the context data. 'STRICT' indicates that the data conforms to a defined, typed schema; 'NONE' indicates that the data is untyped and no schema is enforced.

templateCode : String

The unique code of the template associated with this context.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "data": "abc123" | 1 | 1.0 | true | ["abc123"] | AccountType, "schema": "abc123" | 1 | 1.0 | true | ["abc123"] | AccountType, "schemaType": "century-off-get-begin-your", "templateCode": "feel-eat-morning-gun-bad" }