paddle
Paddle is a subscription and payment management platform.
Usage
import { paddle } from 'netzo/apis/paddle.ts'
const api = paddle({
apiKey: Deno.env.get('PADDLE_API_KEY'),
baseUrl: 'https://api.paddle.com/'
})
Configuration
The paddle
factory function expects an object with the following, and returns an object with an API client api
.
Param | Type | Default | Description |
---|---|---|---|
apiKey | string | Deno.env.get('PADDLE_API_KEY') | the API key to use for authentication |
baseUrl | string | https://api.paddle.com/ | the base URL to use for requests |
Refer to the API documentation to get the required information.
Examples
The following examples assume you have created an api client instance.