Core HTTP client for AdyenClient.
Features:
- Automatic retry with exponential backoff for retryable errors (5xx, 429)
- Telemetry events on every request
- Idempotency key injection for POST
- Configurable timeouts
- JSON encode/decode with Jason
- Structured
AdyenClient.Erroron failure
Summary
Functions
Make an authenticated API request.
Types
@type method() :: :get | :post | :patch | :put | :delete
@type response() :: {:ok, map() | list() | nil} | {:error, AdyenClient.Error.t()}