FISCALISTO / API / REFERENCE
Resend an event · Events
Sends again, now, an event from the last 30 days: to one webhook (endpoint) or to all the enabled ones that listen for that type. It's a separate attempt, signed with the same webhook-id: it doesn't change the automatic retries, and if it arrives, it's no longer retried. Use it after fixing your server, with GET /v1/events?delivery_success=false.
A key for the whole account: not limited to some issuers or to a test environment.
bearerAuthAuthorizationBearer <key>Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.
id*stringThe object's id.
Idempotency-Key?stringOptional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge).
1 <= length <= 255application/json- body
endpoint?stringThe webhook (whe_…) to send it to again. Not sent: to all enabled webhooks that listen for that event type.
^whe_[0-9A-Za-z]{20}$OK.
application/json- response
An event sent again: how many webhooks it went to. Each delivery is a separate attempt, now; see it in the webhook's deliveries.
object*stringWhat kind of object it is («invoice», «customer»…).
event*stringThe event (evt_…) sent again.
deliveries*integerHow many webhooks it went to. 0 if no enabled one listens to that event type.
-9007199254740991 <= value <= 9007199254740991That webhook endpoint is disabled, so an event can't be resent to it. Enable it with disabled: false and resend.
This key is limited to some issuers and the request touches another one (or creates one, or uses something of the whole account, like webhooks).
There's no object with that id (or it belongs to another issuer or the other mode).
Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.
curl -X POST 'https://api.fiscalisto.com/v1/events/evt_0PKhIdhYuAGwzmMQYfkc/resend' \ -H 'Authorization: Bearer fk_test_…' \ -H 'Idempotency-Key: pedido-A-1042' \ -H 'Content-Type: application/json' \ -d '{ "endpoint": "whe_8Kq2ZtR4mNw1Lp0sXc7V"}'{ "object": "event_resend", "event": "evt_0PKhIdhYuAGwzmMQYfkc", "deliveries": 1}Was this page helpful?
Get an event GET
An event from the last 30 days, with the object as it was when it happened.
invoice.stamped Webhook
An invoice, payment complement, credit note, advance payment or payroll receipt was stamped, in the same request or after processing. data.object is the CFDI. It arrives at your webhooks as a POST signed with Standard Webhooks (headers webhook-id, webhook-timestamp and webhook-signature).