Stripe ➔ Vectorizer.AI Payload Specification

Technical reference for automating data exchange between Payments and Image Processing workflows.

💡 How this integration works:

1. Stripe triggers an event when checkout.session.completed occurs.
2. Data is packaged into a standard JSON webhook payload.
3. Payload is delivered into your Vectorizer.AI intake pipeline and mapped to your Image Processing targets.

Authentication & Event Specs

ParameterSource (Stripe)Destination (Vectorizer.AI)
Auth MechanismBearer Secret KeyBasic Auth (API Key)
Trigger Eventcheckout.session.completedIngest Pipeline

Sample Webhook JSON Payload

{
  "event": "checkout.session.completed_to_vectorizer",
  "timestamp": 1788105198,
  "source": {
    "platform": "Stripe",
    "auth_mode": "Bearer Secret Key",
    "data": {
      "session_id": "sample_session_id_val",
      "customer_email": "sample_customer_email_val",
      "amount_total": "sample_amount_total_val",
      "currency": "sample_currency_val"
    }
  },
  "destination": {
    "platform": "Vectorizer.AI",
    "auth_mode": "Basic Auth (API Key)",
    "target_endpoint": "https://api.vectorizer.com/v1/ingest",
    "mapped_fields": {
      "task_id": "{{source.session_id}}",
      "output_format": "{{source.customer_email}}",
      "svg_data_url": "{{source.amount_total}}",
      "processing_ms": "{{source.currency}}"
    }
  }
}

Quick Integration Setup

  1. Retrieve your secret API credentials from your Stripe developer dashboard using authentication method Bearer Secret Key.
  2. Configure the target endpoint URL to route payloads into the Vectorizer.AI intake pipeline.
  3. Map incoming schema properties according to the JSON specification detailed above.

Expected HTTP Response Codes

Status CodeMeaningTroubleshooting Step
200 OKSuccessPayload accepted and queued for routing.
401 UnauthorizedAuth FailureVerify headers for valid Bearer Secret Key credentials.
422 UnprocessableSchema ErrorCheck field keys alignment between source and target payload.

Related Technical Specifications