---
title: "Deactivate a billing profile"
method: POST
path: "/v1/billing_profiles/{billing_profile_id}/deactivate"
tags: ["Billing Profiles"]
---

# Deactivate a billing profile

`POST /v1/billing_profiles/{billing_profile_id}/deactivate`

## Request

- Base URL: `https://api.sandbox.rainforestpay.com`
- URL: `https://api.sandbox.rainforestpay.com/v1/billing_profiles/{billing_profile_id}/deactivate`
- Auth: HTTP bearer

Deactivate a billing profile.

A billing profile can be deactivated if it is not assigned to any active merchants, or is not assigned as the platform's default billing profile.

## Parameters

- `#/paths/~1v1~1billing_profiles~1{billing_profile_id}/get/parameters/1` (unresolved $ref)

## Response `200`

OK

- object
  - `status` Status (unresolved $ref)
  - `data` Data (unresolved $ref)
  - `errors` Errors (unresolved $ref)

## Other responses

- `400` (unresolved $ref)
- `401` (unresolved $ref)
- `403` (unresolved $ref)
- `404` (unresolved $ref)
- `5XX` (unresolved $ref)

---

[API](https://skmtc.dev/rainforestpay/apis/merchants.md) - [All operations](https://skmtc.dev/rainforestpay/apis/merchants/llms.txt) - [OpenAPI document](https://skmtc.dev/rainforestpay/apis/merchants/revisions/b6a47569f3cb?raw)
