The easiest way for small businesses and sole traders to accept card payments.
Emit new event when a new transaction is posted in SumUp. See the documenation
The SumUp API allows you to integrate your payment processing operations with SumUp's payment platform, creating seamless financial transactions for your business. With Pipedream, you can automate payment flows, sync transaction data with other tools, and build custom notifications based on payment events. You can use Pipedream’s serverless platform to trigger workflows on various SumUp events, process the data, and connect with countless other apps to extend functionality.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sumup: {
type: "app",
app: "sumup",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sumup.com/v0.1/me`,
headers: {
Authorization: `Bearer ${this.sumup.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})