---
title: "Get add-card link"
method: POST
path: "/api/billing-payment-methods/get-add-link"
tags: ["billing_payment_methods"]
---

# Get add-card link

`POST /api/billing-payment-methods/get-add-link`

## Request

- Base URL: `https://beta.getsales.io/id/v1`
- URL: `https://beta.getsales.io/id/v1/api/billing-payment-methods/get-add-link`
- Auth: HTTP bearer and API key in header `Team-SID`

A temporary Paddle Customer Portal link to add or replace the card of the workspace's subscription: the ONLY way to add a card (the person types it on Paddle's page, never here). Minted fresh each call. no_billing_account when the workspace draws from no subscription.

Contract:
- MCP tool `get_billing_payment_method_add_link`, registry package `mcp.id/billing_payment_methods`, mount `id.billing`.
- Operation `action`, response envelope `action`.
- Flags: none.

## Response `200`

`action` success envelope.

- GetBillingPaymentMethodAddLinkResponse
  - `success` true, required
  - `operation` 'action', required
  - `action` string, required: kebab-case verb; matches the route segment.
  - `item` unknown, required
  - `result` object, required
    - `add_link` string, nullable, required: The portal URL to open: the update-payment-method deep link, else the portal overview; null when Paddle minted neither.
    - `expires_at` string, required: ISO 8601 UTC when the link lapses.
    - `subscription_sid` string, required: The subscription the card will bill (bl_sb_...).
  - `meta` object, required
    - `trace_id` string, required: UUID v7; same 128-bit value as the X-Trace-Id header.
    - `span_id` string, required: 16 hex chars, root span of this request.
    - `timestamp` string, required: ISO 8601 UTC (Y-m-dTH:i:sZ), response time.
    - `duration_ms` integer, required: Server-side wall clock.
    - `team_sid` string, nullable: The team this call ran in (the token team, or the team_sid override). Null when unauthenticated; absent from pre-2026-08-20 backends.
    - `actor_type` string, nullable: user | agent | api_key | system. Null when unauthenticated; absent from pre-2026-08-20 backends.

## Other responses

- `4XX`: MCP error envelope. `error.code` is one of validation_failed, nothing_to_update, not_found, relation_not_found, invalid_transition, limit_exceeded, payment_required, duplicate_rejected, conflict, delete_blocked, unauthorized, forbidden, rate_limited, not_implemented.
- `5XX`: MCP error envelope with `error.code` internal_error or service_unavailable.

---

[API](https://skmtc.dev/getsales/apis/getsales-public-contract-gs-service-id.md) - [All operations](https://skmtc.dev/getsales/apis/getsales-public-contract-gs-service-id/llms.txt) - [OpenAPI document](https://skmtc.dev/getsales/apis/getsales-public-contract-gs-service-id/revisions/95e48541fe85?raw)
