Reference / @getenginex/sdk / CallOptions
CallOptions
Options accepted by every SDK method.
Properties
fetchOptions?
optionalfetchOptions?:FetchOptions
Extra fetch options for this specific request.
idempotencyKey?
optionalidempotencyKey?:string
Idempotency key (Idempotency-Key header) to repeat an operation without duplicating it: after a network error, call again with the same key. Only idempotent methods (those that move money, like deposit and withdrawal) use it; on the others it is ignored. Without it, the SDK generates a key per call and reuses it on the internal retry after renewing the session. Use a unique value per operation, e.g. crypto.randomUUID(). Empty text is treated as absent.
signal?
optionalsignal?:AbortSignal
Cancels the request (e.g. TanStack Query's signal).