APIGet User Invoicing

Get User Invoicing

Retrieve the invoicing settings for a specific user. This endpoint is for administrators to view any user's invoicing data.

GET/v2/projects/{project_id}/users/{user_id}/invoicing

Authorization

Bearer TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

user_idstringRequired

The user ID to get invoicing settings for.

Request
curl -X GET "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/users/123456789012345678/invoicing" \
  -H "Authorization: Bearer YOUR_TOKEN"
Successapplication/json
{
  "ok": true,
  "request_id": "11111111-1111-1111-1111-111111111111",
  "method": "GET",
  "path": "/v2/projects/YOUR_PROJECT_ID/users/123456789012345678/invoicing",
  "code": 200,
  "data": {
    "name": "John Doe",
    "email": "[email protected]",
    "address": "123 Main St",
    "city": "New York",
    "region": "NY",
    "postal": "10001",
    "country": "US",
    "vat_number": null
  }
}

Last updated: