Skip to content

Resend an invoice

Queues the invoice email again in live. Sandbox does not send email.


POST/v1/invoices/{id}/resend
Requires invoices:write permission.
Idempotency-Keystringrequired

Example: order-1001-attempt-1

Required. A unique string for this request. See Idempotency.

idstringrequired

The id of the invoice (inv_…).

Example: inv_01k7q3m8x2v5t9n4b6c1d0e7fa

Prefixed with inv_.

dataobjectrequired

The returned object, or an array of objects for a list.

emailedbooleanrequired

Whether the invoice email was queued. Always false in the sandbox.

metaobjectrequired

Request details such as its id and pagination cursor.

request_idstringrequired

The id of this request. Quote it when you ask support about it.

Example: req_Hy3k9QzT2LmN8vXa

A failed request answers with the common error shape; see Errors.

curl -X POST "https://api.baiyar.com/v1/invoices/{id}/resend" \
-H "Authorization: Bearer $BAIYAR_KEY" \
-H "Idempotency-Key: order-1001-attempt-1"