addedOutput schema / properties / payment / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "balance": {
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "rail": {
+ "const": "prepaid",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "rail",
+ "balance"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "allowanceRemaining": {
+ "type": "number"
+ },
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "const": "USD",
+ "type": "string"
+ },
+ "pagesFromAllowance": {
+ "type": "number"
+ },
+ "rail": {
+ "const": "subscription",
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "rail",
+ "pagesFromAllowance",
+ "allowanceRemaining"
+ ],
+ "type": "object"
+ }
+]