from decimal import ROUND_CEILING, Decimal

CLIENT_API_KEY_HEADER = "X-API-Key"
CLIENT_TENANT_NAME_HEADER = "X-Tenant-Name"
CLIENT_IDEMPOTENCY_KEY_HEADER = "X-Idempotency-Key"

MANAGEMENT_API_BASE_RESOURCE = "/v1"
MANAGEMENT_TENANT_NAME_HEADER = "X-Tenant-Name"

UNIT_PRICE = Decimal("0.01")  # 1ユニット = $0.01
SERVICE_SUM_KEY = "sum"

DEFAULT_DECIMAL_ROUNDING = ROUND_CEILING  # 小数点以下切り上げ
