Issue one API call.
Expected shape of the parsed JSON response.
HTTP method.
Path + query string (e.g. /v1/balances?quote=USDT).
Optionalbody: unknownOptional request body; JSON-serialized when present.
Optionalheaders: Record<string, string>Optional extra headers (e.g. an idempotency key); merged after signing.
The parsed response body as T.
The minimal transport contract a resource depends on — a single
requestmethod.Keeping resources bound to this interface (rather than the concrete AbsolutePay) decouples them from the HTTP layer, which makes them trivially testable with a stub.