Vestiarion · Schema

GetClosePackResponse

PaymentsAI AgentsUSDCSmall BusinessCrypto Payments

Properties

Name Type Description
data object A month's close pack, `vestiarion-close-pack/1`: every payment settled in it, one row each with its signed entry, the payments not settled, the escrow moves, totals, and every cited entry in full.
View JSON Schema on GitHub

JSON Schema

vestiarion-xyz-get-close-pack-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vestiarion-xyz/json-schema/vestiarion-xyz-get-close-pack-response-schema.json",
  "title": "GetClosePackResponse",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vestiarion-xyz-openapi.json#/components/schemas/GetClosePackResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "format": {
          "type": "string",
          "const": "vestiarion-close-pack/1"
        },
        "exportedAt": {
          "type": "string"
        },
        "workspace": {
          "type": "object",
          "properties": {
            "slug": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "required": [
            "slug",
            "name"
          ],
          "description": "The workspace the document is of."
        },
        "network": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "enum": [
                "arc-testnet",
                "arc-mainnet"
              ]
            },
            "label": {
              "type": "string",
              "description": "The network's name, as the workspace's pages write it."
            }
          },
          "required": [
            "id",
            "label"
          ],
          "description": "The workspace's network."
        },
        "month": {
          "type": "object",
          "properties": {
            "from": {
              "type": "string",
              "description": "The first day, `YYYY-MM-DD` (UTC)."
            },
            "to": {
              "type": "string",
              "description": "The next month's first day: the month runs up to it, not including it."
            },
            "label": {
              "type": "string"
            },
            "key": {
              "type": "string",
              "description": "`YYYY-MM`."
            },
            "ended": {
              "type": "boolean",
              "description": "Whether the month has ended: false for this month so far."
            }
          },
          "required": [
            "from",
            "to",
            "label",
            "key",
            "ended"
          ],
          "description": "A calendar month in UTC."
        },
        "ledgerHead": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "seq": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "hash": {
                  "type": "string"
                }
              },
              "required": [
                "seq",
                "hash"
              ]
            },
            {
              "type": "null"
            }
          ],
          "description": "The ledger's newest entry when the pack was read."
        },
        "cut": {
          "type": "boolean",
          "description": "The month holds more payments than one pack reads (2,000), and the pack stops there."
        },
        "unread": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "members",
              "screening"
            ]
          },
          "description": "Parts that could not be read just now; the rest shows."
        },
        "totals": {
          "type": "object",
          "properties": {
            "onChain": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "token": {
                    "type": "string",
                    "enum": [
                      "USDC",
                      "EURC"
                    ]
                  },
                  "payments": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "amount": {
                    "type": "string",
                    "description": "An amount as text with exactly six decimal places, never a float."
                  },
                  "routeFeesUsdc": {
                    "type": "string",
                    "description": "An amount as text with exactly six decimal places, never a float."
                  }
                },
                "required": [
                  "token",
                  "payments",
                  "amount",
                  "routeFeesUsdc"
                ]
              }
            },
            "simulated": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "token": {
                    "type": "string",
                    "enum": [
                      "USDC",
                      "EURC"
                    ]
                  },
                  "payments": {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  "amount": {
                    "type": "string",
                    "description": "An amount as text with exactly six decimal places, never a float."
                  },
                  "routeFeesUsdc": {
                    "type": "string",
                    "description": "An amount as text with exactly six decimal places, never a float."
                  }
                },
                "required": [
                  "token",
                  "payments",
                  "amount",
                  "routeFeesUsdc"
                ]
              }
            },
            "shadow": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "notSettled": {
              "type": "object",
              "propertyNames": {
                "type": "string",
                "enum": [
                  "settled_later",
                  "waiting",
                  "in_flight",
                  "unknown",
                  "gateway_failed",
                  "failed",
                  "cancelled",
                  "not_sent",
                  "refunded"
                ]
              },
              "additionalProperties": {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              }
            },
            "withoutBill": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "entries": {
              "type": "object",
              "properties": {
                "cited": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "verified": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "failed": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "unchecked": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "cited",
                "verified",
                "failed",
                "unchecked"
              ]
            }
          },
          "required": [
            "onChain",
            "simulated",
            "shadow",
            "notSettled",
            "withoutBill",
            "entries"
          ]
        },
        "rows": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "paymentId": {
                "type": "string"
              },
              "source": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "enum": [
                      "invoice",
                      "milestone"
                    ]
                  },
                  "id": {
                    "type": "string"
                  }
                },
                "required": [
                  "kind",
                  "id"
                ]
              },
              "paidAt": {
                "type": "string"
              },
              "sentAt": {
                "type": "string"
              },
              "amount": {
                "type": "string",
                "description": "An amount as text with exactly six decimal places, never a float."
              },
              "token": {
                "type": "string",
                "enum": [
                  "USDC",
                  "EURC"
                ]
              },
              "discount": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "simulated": {
                "type": "boolean"
              },
              "shadow": {
                "type": "boolean"
              },
              "payee": {
                "type": "object",
                "properties": {
                  "counterpartyId": {
                    "type": "string"
                  },
                  "name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "address": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "bank": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "provider": {
                            "type": "string",
                            "const": "blindpay"
                          },
                          "bankCode": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "last4": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "rail": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "receiverAmount": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "receiverCurrency": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "payoutId": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "provider",
                          "bankCode",
                          "last4",
                          "rail",
                          "receiverAmount",
                          "receiverCurrency",
                          "payoutId"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "counterpartyId",
                  "name",
                  "address",
                  "bank"
                ]
              },
              "bill": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "invoice"
                      },
                      "id": {
                        "type": "string"
                      },
                      "number": {
                        "description": "The vendor's own number.",
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "amount": {
                        "type": "string",
                        "description": "An amount as text with exactly six decimal places, never a float."
                      },
                      "currency": {
                        "type": "string",
                        "enum": [
                          "USDC",
                          "EURC"
                        ]
                      },
                      "written": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "amount": {
                                "type": "number"
                              },
                              "currency": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "amount",
                              "currency"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "dueDate": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "poReference": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "memo": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "document": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "sha256": {
                                "type": "string"
                              },
                              "kind": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "sha256",
                              "kind"
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ],
                        "description": "The document the bill was read from, by its SHA-256; the document itself is not kept."
                      },
                      "vendorDocuments": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "sha256": {
                              "type": "string"
                            },
                            "type": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "at": {
                              "type": "string"
                            },
                            "entry": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "sha256",
                            "type",
                            "at",
                            "entry"
                          ]
                        }
                      },
                      "entry": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "number",
                      "amount",
                      "currency",
                      "written",
                      "dueDate",
                      "poReference",
                      "memo",
                      "document",
                      "vendorDocuments",
                      "entry"
                    ]
                  },
                  {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "milestone"
                      },
                      "id": {
                        "type": "string"
                      },
                      "title": {
                        "type": "string"
                      },
                      "amount": {
                        "type": "string",
                        "description": "An amount as text with exactly six decimal places, never a float."
                      },
                      "currency": {
                        "type": "string",
                        "const": "USDC"
                      },
                      "entry": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "title",
                      "amount",
                      "currency",
                      "entry"
                    ]
                  }
                ]
              },
              "approval": {
                "type": "object",
                "properties": {
                  "authorizedBy": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "code",
                          "person",
                          "two_people"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "agent": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "action": {
                            "type": "string"
                          },
                          "decider": {
                            "type": "string"
                          },
                          "guardrailRule": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "shadow": {
                            "type": "boolean"
                          },
                          "at": {
                            "type": "string"
                          },
                          "entry": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "action",
                          "decider",
                          "guardrailRule",
                          "shadow",
                          "at",
                          "entry"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "approvals": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "who": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "member"
                                },
                                "userId": {
                                  "type": "string"
                                },
                                "email": {
                                  "description": "Null through the API, which names members by user id only.",
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "roleNow": {
                                  "anyOf": [
                                    {
                                      "type": "string",
                                      "enum": [
                                        "owner",
                                        "admin",
                                        "approver",
                                        "accountant",
                                        "viewer"
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "kind",
                                "userId",
                                "email",
                                "roleNow"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "former_member"
                                },
                                "userId": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "userId"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "payee_link"
                                },
                                "linkId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "kind",
                                "linkId"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "github"
                                },
                                "login": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "kind",
                                "login"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "kind": {
                                  "type": "string",
                                  "const": "unknown"
                                }
                              },
                              "required": [
                                "kind"
                              ]
                            }
                          ],
                          "description": "Who did a step."
                        },
                        "at": {
                          "type": "string"
                        },
                        "cosign": {
                          "type": "boolean"
                        },
                        "paid": {
                          "type": "boolean"
                        },
                        "via": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "entry": {
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "who",
                        "at",
                        "cosign",
                        "paid",
                        "via",
                        "entry"
                      ]
                    }
                  },
                  "verdict": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "verdict": {
                            "type": "string",
                            "enum": [
                              "agree",
                              "disagree"
                            ]
                          },
                          "who": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "const": "member"
                                  },
                                  "userId": {
                                    "type": "string"
                                  },
                                  "email": {
                                    "description": "Null through the API, which names members by user id only.",
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "roleNow": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "enum": [
                                          "owner",
                                          "admin",
                                          "approver",
                                          "accountant",
                                          "viewer"
                                        ]
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "kind",
                                  "userId",
                                  "email",
                                  "roleNow"
                                ]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "const": "former_member"
                                  },
                                  "userId": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "userId"
                                ]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "const": "payee_link"
                                  },
                                  "linkId": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "kind",
                                  "linkId"
                                ]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "const": "github"
                                  },
                                  "login": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "kind",
                                  "login"
                                ]
                              },
                              {
                             

# --- truncated at 32 KB (80 KB total) ---
# Full source: https://artifacts.apis.io/vestiarion-xyz/json-schema/vestiarion-xyz-get-close-pack-response-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/vestiarion-xyz-get-close-pack-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.