handle_paddle_response {paddleR}R Documentation

Handle Paddle API Response

Description

Parses and returns the response if successful, otherwise stops with an error message.

Usage

handle_paddle_response(resp)

Arguments

resp

Response object from 'httr2::req_perform()'

Value

Parsed JSON content from response, or throws error if HTTP status is not 2xx.


[Package paddleR version 0.1.2 Index]