Billing
Set billing destination
Sets the billing target for the current user. The target must be the user themselves or a group they are a member of.
Authorization
token_auth AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://v2.api.piktid.com/billing/destination" \ -H "Content-Type: application/json" \ -d '{ "type": "user", "id": 0 }'{
"type": "user",
"id": 0,
"name": "string"
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty