---
title: "Activate Usage Based Billing"
method: POST
path: "/activate"
tags: ["Merchant Activation"]
---

# Activate Usage Based Billing

`POST /activate`

## Request

- Base URL: `https://api-m.sandbox.paypal.com`
- URL: `https://api-m.sandbox.paypal.com/activate`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `/api/oauth-proxy` scopes: `read`, `write`
- TypeScript: <https://skmtc.dev/paypal/apis/usage-based-billing-api/docs/activate/post.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

Merchant account activated successfully.

- ActivateMerchantResponse: Response object for activating a merchant account for usage based billing.
  - `billing_tier_id` string: The unique code for merchant to use when sending events.

## Other responses

- `403`: Authorization failed due to insufficient permissions.
- `500`: Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/paypal/apis/usage-based-billing-api.md) - [All operations](https://skmtc.dev/paypal/apis/usage-based-billing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paypal/apis/usage-based-billing-api/revisions/22fb46514ac4?raw)
