Skip to main content
Call POST /api/invoices/{id}/send to dispatch the vendor email for an invoice. You can use this endpoint to send the initial email if you created the invoice with send_now: false, or to resend it if the vendor has not received it or requests another copy.
This endpoint is non-idempotent. Every call sends a new email to the vendor. There is no cooldown or deduplication — call it only when you intend to deliver an email.

Request

POST https://pay.kibble.sh/api/invoices/{id}/send

Path parameters

id
string
required
The invoice UUID returned as invoice_id when you created the invoice.

Example request

cURL
curl --request POST \
  --url https://pay.kibble.sh/api/invoices/a1b2c3d4-e5f6-7890-abcd-ef1234567890/send

Response

A successful request returns 200 OK.
ok
boolean
required
true when the email was dispatched successfully.

Example response

200
{ "ok": true }