{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cash-app/main/json-schema/cash-app-link-start-response-schema.json",
  "title": "LinkStartResponse",
  "description": "Response containing the billing agreement link details",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cash-app-billing-agreements-api-openapi.yml#/components/schemas/LinkStartResponse",
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "description": "Token identifying the billing agreement to be created"
    },
    "requestId": {
      "type": "string",
      "description": "The unique identifier from the request"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "When this link attempt will expire"
    },
    "deliveryType": {
      "$ref": "#/$defs/LinkStartResponseDeliveryType",
      "description": "How the verification code was delivered to the consumer"
    }
  },
  "required": [
    "token",
    "requestId",
    "expiresAt",
    "deliveryType"
  ],
  "$defs": {
    "LinkStartResponseDeliveryType": {
      "type": "string",
      "enum": [
        "SMS",
        "EMAIL"
      ],
      "description": "How the verification code was delivered to the consumer",
      "title": "LinkStartResponseDeliveryType"
    }
  }
}