executeRequest

open suspend override fun executeRequest(request: StripeRequest): StripeResponse<String>

Execute an HTTP request represented by a StripeRequest and attempts to parse the HTTP response's body as a String and returns it as StripeResponse.

Return

response with its body parsed as a String

Parameters

request

: the request to execute

Throws

if there connection fails