StripeResponse

constructor(code: Int, body: ResponseBody?, headers: Map<String, List<String>> = emptyMap())

Parameters

code

the response code (i.e. 404)

body

the body of the response

headers

any headers associated with the response