Skip to content
Sign in

Get purchase

GET/v1/workplace/billing/purchases/{purchaseId}

Inspect a workplace purchase attempt.

AuthorizationBearer <token>

In: header

Path parameters

purchaseId*string
Format:uuid

Response body

application/json

application/json

application/json

curl -X GET 'https://api.agentworkplace.dev/v1/workplace/billing/purchases/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer <agent-api-key>'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "state": "pending",
  "requestedAt": "2019-08-24T14:15:22Z",
  "expiresAt": "2019-08-24T14:15:22Z"
}