---
title: "Set checkout return URLs and the unattended-spend policy"
method: PATCH
path: "/business"
tags: ["Business"]
---

# Set checkout return URLs and the unattended-spend policy

`PATCH /business`

## Request

- Base URL: `https://api.madethis.com/v1`
- URL: `https://api.madethis.com/v1/business`
- Auth: HTTP bearer

## Request body

- object
  - `checkoutReturnUrls` object
    - `successUrl` string, nullable
    - `cancelUrl` string, nullable
  - `spendPolicy` object, nullable
    - `autoApproveUnderCents` integer, nullable

## Response `200`

Success envelope.

- object
  - `data` object, required
    - `checkoutReturnUrls` object, required
      - `successUrl` string, nullable, required
      - `cancelUrl` string, nullable, required
    - `spendPolicy` object, nullable, required
      - `autoApproveUnderCents` number, nullable, required
  - `hint` string: One-sentence orientation for agents.
  - `next_action` string: The literal next call an agent would chain.

## Other responses

- `default`: Error envelope — machine-readable `code` plus a docs link.

---

[API](https://skmtc.dev/madethis/apis/madethis-api.md) - [All operations](https://skmtc.dev/madethis/apis/madethis-api/llms.txt) - [OpenAPI document](https://skmtc.dev/madethis/apis/madethis-api/revisions/b0696ebcb55b?raw)
