> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Deactivate Checkout

Deactivate an active Coinbase Business checkout to prevent further payments. The checkout status changes to DEACTIVATED and can no longer accept payments. Only ACTIVE checkouts can be deactivated. Ideal for: cancelled orders, expired offers, fraud prevention.

![Deactivate Checkout logo](https://ai-icon.b3.fun/logo/coinbase-business)
Catalog action Integrations coinbase-business

Deactivate an active Coinbase Business checkout to prevent further payments. The checkout status changes to DEACTIVATED and can no longer accept payments. Only ACTIVE checkouts can be deactivated. Ideal for: cancelled orders, expired offers, fraud prevention.


## At a Glance

| Field | Value |
| --- | --- |
| Action ID | `coinbase-business-deactivate-checkout` |
| Category | Integrations |
| Connector | `coinbase-business` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `coinbase`, `checkout`, `payment`, `crypto`, `finance`, `update`, `write` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `checkoutId` | `string` | Yes | Checkout ID to deactivate \(24-char hex string\). Only ACTIVE checkouts can be deactivated. |
| `apiKeyName` | `string` | No | CDP API Key Name \(overrides connector\) |
| `apiKeySecret` | `string` | No | CDP API Key Secret \(overrides connector\) |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | Checkout ID |
| `url` | `string` | Yes | Hosted payment page URL |
| `status` | `string` | Yes | Checkout status \(will be DEACTIVATED\) |
| `amount` | `string` | Yes | Payment amount |
| `currency` | `string` | Yes | Currency code |
| `network` | `string` | Yes | Blockchain network |
| `address` | `string` | Yes | Blockchain payment address |
| `tokenAddress` | `string` | No | ERC-20 token contract address |
| `description` | `string` | No | Payment description |
| `expiresAt` | `string` | No | Expiration timestamp |
| `metadata` | `object` | No | Attached metadata |
| `successRedirectUrl` | `string` | No | Success redirect URL |
| `failRedirectUrl` | `string` | No | Fail redirect URL |
| `settlement` | `object` | No | Settlement breakdown |
| `fiatAmount` | `string` | No | Original fiat amount |
| `fiatCurrency` | `string` | No | Original fiat currency code |
| `transactionHash` | `string` | No | Blockchain transaction hash |
| `refundedAmount` | `string` | No | Total refunded amount |
| `refunds` | `array` | No | Refund details |
| `createdAt` | `string` | Yes | Creation timestamp |
| `updatedAt` | `string` | Yes | Last update timestamp |

## Examples

**Workflow node**

```json
{
  "type": "coinbase-business-deactivate-checkout",
  "payload": {
    "checkoutId": "example-checkoutId"
  },
  "children": [],
  "connector": {
    "type": "coinbase-business",
    "id": "conn_coinbase_business"
  }
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/coinbase-business-deactivate-checkout/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "checkoutId": "example-checkoutId"
  }
}'
```

**Use expressions for dynamic values**

Payload fields can use workflow expressions such as `{{$trigger.body.amount}}`, `{{$nodes.fetch.result.price}}`, and `{{$props.asset}}` when the value should come from a trigger, prior node, or reusable workflow prop.