Payments Data Platform | Modernbanc

Archive

Modernbanc uses archived_at to represent a timestamp when a model is archived. For example:

{
  "name": "Checking",
  "description": "Checking Account",
  "created_at": "2023-05-04T13:08:06.613Z",
  "updated_at": "2023-05-04T13:08:06.613Z",
  "archived_at": null
}

Viewing

Archived models by default don't get included in GET responses. If you want to include them you must provide a with_archived=true query parameter to your GET request. For example:

GET /balances?with_archived=true

Archiving Data

To archive or un-archive an object, use its archive endpoint, like the example archive account endpoint.

While archived, an object cannot be updated.