# Open the PaymentIntent for a pay link (public)

`POST /api/v1/pay/{token}/intent`

Public and idempotent per invoice: an already-open attempt is replayed rather than a second authorization hold being placed on the payer’s card. Settlement is confirmed by webhook, not by this response.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `token` | string | required |  |

## Responses

### 200

PaymentIntent client secret for Stripe Elements.

JSON Schema:

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "client_secret": {
          "type": [
            "string",
            "null"
          ],
          "description": "Bearer credential for this intent. Never log it."
        },
        "payment_intent_id": {
          "type": "string"
        }
      },
      "required": [
        "client_secret",
        "payment_intent_id"
      ]
    },
    "_agent": {
      "type": "object",
      "properties": {
        "summary": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "ok"
          ]
        },
        "next_actions": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "summary",
        "status",
        "next_actions",
        "warnings"
      ]
    },
    "api_version": {
      "type": "string",
      "example": "2026-07-01"
    }
  },
  "required": [
    "data",
    "_agent",
    "api_version"
  ]
}
```
