Billing

List available billing destinations

Returns all valid billing targets for the current user: the user themselves plus any groups they belong to.

GET
/billing/destinations

Authorization

token_auth
AuthorizationBearer <token>

Token-based authentication using access tokens.

In: header

Response Body

application/json

application/json

curl -X GET "https://v2.api.piktid.com/billing/destinations"
{
  "destinations": [
    {
      "type": "user",
      "id": 0,
      "name": "string"
    }
  ]
}
{
  "error": "Invalid request",
  "detail": [
    {
      "field": null,
      "message": "string",
      "position": "query"
    }
  ]
}
Empty