Get billing summary
GET
/v1/workplace/billing/summaryRead current billing presentation and available actions.
AuthorizationBearer <token>
In: header
Response body
application/json
application/json
application/json
/v1/workplace/billing/summaryRead current billing presentation and available actions.
In: header
application/json
application/json
application/json
curl -X GET 'https://api.agentworkplace.dev/v1/workplace/billing/summary' \
-H 'Authorization: Bearer <agent-api-key>'{
"status": {
"workplaceId": "4989ce91-52f9-461b-87fa-af1f28004fc0",
"plan": "starter",
"pendingCommand": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"action": "cancel",
"state": "pending",
"requestedAt": "2019-08-24T14:15:22Z"
},
"price": {
"currency": "usd",
"monthlyAmount": 2000
},
"subscription": {
"revision": "b587a570-d9a5-40c2-87da-edba28b3005f",
"health": "current",
"paidThrough": "2019-08-24T14:15:22Z",
"recoveryEndsAt": "2019-08-24T14:15:22Z",
"cancellationScheduled": true,
"lastVerifiedAt": "2019-08-24T14:15:22Z"
}
},
"state": "starter",
"renewalAt": "2019-08-24T14:15:22Z",
"endedAt": "2019-08-24T14:15:22Z",
"portalEnabled": true,
"canManage": true,
"canUpgrade": true
}