StripeResponse
data class StripeResponse<ResponseBody>(val code: Int, val body: ResponseBody?, val headers: Map<String, List<String>> = emptyMap())
Represents a response from the Stripe servers. Upon receiving the HTTP response, its body is parsed into ResponseBody, such as a String or a File.
Parameters
code
the response code (i.e. 404)
body
the body of the response
headers
any headers associated with the response