addedInput schema / properties / amount / anyOf
Added value: +[
+ {
+ "maxLength": 80,
+ "pattern": "^\\d+(\\.\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "number"
+ }
+]
removedInput schema / properties / amount / type
Removed value: -[
- "string",
- "number"
-]
changedInput schema / properties / chainId / anyOf
Previous value: -[
- {
- "enum": [
- "1",
- "8453",
- "137",
- "42161",
- "10",
- "56",
- "43114"
- ],
- "type": "string"
- },
- {
- "type": "integer"
- },
- {
- "const": "solana",
- "type": "string"
- }
-]New value: +[
+ {
+ "enum": [
+ "1",
+ "8453",
+ "137",
+ "42161",
+ "10",
+ "56",
+ "43114"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "integer"
+ },
+ {
+ "const": "solana",
+ "type": "string"
+ },
+ {
+ "const": "tron",
+ "type": "string"
+ }
+]
changedInput schema / properties / chainId / description
Previous value: -"Payment chain: EVM chain ID (1, 8453, 137, 42161, 10, 56, 43114) or 'solana'"New value: +"Payment chain: EVM chain ID (1, 8453, 137, 42161, 10, 56, 43114), 'solana', or 'tron'"
changedInput schema / properties / code / description
Previous value: -"Verification code from insumer_verify (e.g. INSR-A7K3M)"New value: +"Discount code (e.g. INSR-A7K3M)"
addedInput schema / properties / code / pattern
Added value: +"^INSR-[A-Z0-9]{5}$"
addedInput schema / properties / txHash / maxLength
Added value: +100
addedInput schema / properties / txHash / pattern
Added value: +"^(?:0x[0-9a-fA-F]{64}|[0-9a-fA-F]{64}|[1-9A-HJ-NP-Za-km-z]{43,90})$"
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": true,
+ "properties": {
+ "data": {
+ "description": "The endpoint's payload: a signed attestation, trust profile, discount, merchant or token records"
+ },
+ "error": {
+ "description": "Error details when ok is false"
+ },
+ "items": {
+ "description": "The result when the endpoint returns a JSON array",
+ "items": {},
+ "type": "array"
+ },
+ "keys": {
+ "description": "JWKS entries (insumer_jwks)",
+ "items": {},
+ "type": "array"
+ },
+ "message": {
+ "description": "A plain-text result (insumer_setup), or a message from the API"
+ },
+ "meta": {
+ "description": "Response metadata such as version and timestamp"
+ },
+ "ok": {
+ "description": "true when the API call succeeded",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+}