The treasury location object
idstring (id)Unique identifier of the treasury location.
namestringThe treasury location's name.
typeenumA cash drawer, a vault, or a collector's wallet.
Possible values:
collector_walletdrawervaultbranchobjectnullableNull for a location every branch may use.
Fields:
id, name· detailsstatusenumWhere the treasury location is in its life cycle.
Possible values:
active
{
"id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
"name": "Example name",
"type": "collector_wallet",
"branch": {
"id": "01K2ZQ7M4X8N6P3R9T5V7W1Y2A",
"name": "Main branch"
},
"status": "active"
}