Stripe

Send Stripe Invoice

Emails a finalised Stripe invoice to the customer.

Unverified

What the model is told

Email a finalised Stripe invoice to the customer for manual payment. Confirm the customer is expecting it first, and that the invoice has been finalised. Tell the customer to check their inbox. It returns the invoice including hosted_invoice_url.

Request

POSThttps://api.stripe.com/v1/invoices/{{invoiceId}}/send

Headers

  • AuthorizationBearer YOUR_STRIPE_SECRET_KEY

Parameters

  • invoiceId stringThe ID of the finalised invoice.

Engage payload

{
  "source": "VOICE_AI",
  "tool": {
    "id": "7a2884c8-f647-4132-93f2-944ecabb2db9",
    "type": "HTTP_REQUEST",
    "label": "Send Stripe Invoice",
    "name": "send_stripe_invoice",
    "customName": false,
    "description": "Email a finalised Stripe invoice to the customer for manual payment. Confirm the customer is expecting it first, and that the invoice has been finalised. Tell the customer to check their inbox. It returns the invoice including hosted_invoice_url.",
    "parameters": [
      {
        "name": "invoiceId",
        "type": "string",
        "description": "The ID of the finalised invoice."
      }
    ],
    "config": {
      "endpoint": {
        "method": "POST",
        "url": "https://api.stripe.com/v1/invoices/{{invoiceId}}/send"
      },
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer YOUR_STRIPE_SECRET_KEY"
        }
      ],
      "body": null,
      "timeout": null
    }
  }
}

IDs are regenerated on every copy.