> ## 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 Payment Link

Deactivate an active Coinbase Business payment link to prevent further payments. The link status changes to DEACTIVATED and can no longer accept payments. Ideal for: expired offers, cancelled orders, subscription cancellations, fraud prevention.

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

Deactivate an active Coinbase Business payment link to prevent further payments. The link status changes to DEACTIVATED and can no longer accept payments. Ideal for: expired offers, cancelled orders, subscription cancellations, fraud prevention.


## At a Glance

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

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `paymentLinkId` | `string` | Yes | The unique identifier of the payment link to deactivate |
| `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 | Payment link ID |
| `url` | `string` | Yes | Payment link URL |
| `status` | `string` | Yes | Payment link status |
| `amount` | `string` | Yes | Payment amount |
| `currency` | `string` | Yes | Currency code |
| `description` | `string` | No | Payment description |
| `network` | `string` | No | Blockchain network |
| `address` | `string` | No | Payment address |
| `expiresAt` | `string` | No | Expiration timestamp |
| `metadata` | `object` | No | Attached metadata |
| `successRedirectUrl` | `string` | No | Success redirect URL |
| `failRedirectUrl` | `string` | No | Fail redirect URL |
| `createdAt` | `string` | Yes | Creation timestamp |
| `updatedAt` | `string` | Yes | Last update timestamp |

## Examples

**Workflow node**

```json
{
  "type": "coinbase-business-deactivate-payment-link",
  "payload": {
    "paymentLinkId": "example-paymentLinkId"
  },
  "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-payment-link/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "paymentLinkId": "example-paymentLinkId"
  }
}'
```

**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.