Skip to navigation

Void a signal by idempotency key (Early access)

Early access. Voids one ingested signal by the idempotency key it was sent with, with the same result as voiding it by ID. The key is matched exactly as stored: a signal sent with a customer-scoped API key is stored under a namespaced key and is voided by its ID. A key that names no signal answers 404; a key that names more than one answers 409 and voids nothing. A signal whose key is . or .. cannot be addressed by key: void it by ID. An organization that has signal voiding turned off gets 404.

Authentication

AuthorizationBearer
API Key authentication using Bearer token

Path parameters

idempotencyKeystringRequired>=1 character

Request

Body
reasonstringOptional
Why you are voiding the signal, kept with the void. At most 500 characters.

Response

200
signalCorrectionIdstring
The ID of the record of this void.
alreadyVoidedboolean

True when the signal was already voided and this answers with that earlier void; nothing changed.

factsRevertedinteger

How many of the signal’s usage records the void took back: one for each entry in cells. 0 when the signal was not counted in any billing period. On a repeat of an earlier void this is that void’s count, and cells is empty.

pendingCancelledinteger
How many of the signal's credit charges that had not yet been applied the void cancelled. 0 when there were none. On a repeat of an earlier void this is that void's count.
cellslist of objects

The usage the void took back, one entry per order attribute and billing period the signal was counted in, and a second entry for the same period when it also held tracked-only usage (nonBillable true). Empty when the signal was not counted anywhere, and on a repeat of an earlier void.

creditslist of objects
What the void did to the credits the signal spent, one entry per credit currency. Empty when the signal spent none.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error