MoonClerk is a web-based application designed to facilitate recurring and one-time transactions without hassle.
Go to siteYou can use the MoonClerk API to create and manage online payments for your business. With MoonClerk, you can accept payments from customers via credit card, bank account, or PayPal. You can also use MoonClerk to set up recurring payments, so customers can make automatic payments on a schedule you specify.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
moonclerk: {
type: "app",
app: "moonclerk",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.moonclerk.com/customers`,
headers: {
"Authorization": `Token token=${this.moonclerk.$auth.api_key}`,
"Accept": `application/vnd.moonclerk+json;version=1`,
},
})
},
})
MoonClerk uses API keys for authentication. When you connect your MoonClerk account, Pipedream securely stores the keys so you can easily authenticate to MoonClerk APIs in both code and no-code steps.
To generate and obtain an API key, visit: https://app.moonclerk.com/settings/api-key.