with Qryptal and Stripe?
Cancel a pending payout or reverse a paid payout. See the documentation here and here
Capture the funds of an existing uncaptured payment intent. See the documentation
Confirm that your customer intends to pay with current or provided payment method. See the documentation
Qryptal API offers robust solutions for generating and validating secure document QR codes that can be integrated seamlessly into documents for authenticity verification. This is particularly crucial in sectors like education, finance, and government, where document integrity is paramount. Using Pipedream, the API can be connected to a variety of other services to create complete automation workflows, enhancing processes like document management, compliance tracking, and secure exchanges.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qryptal: {
type: "app",
app: "qryptal",
}
},
async run({steps, $}) {
const data = {
"data": {
"City/Town": "Utopia City",
"District": "Central District",
"Name": "John Doe",
"Demographics": {
"Sex": "Male",
"DOB": "May 9 1996",
"City": "Utopia City"
}
},
"format":{
"version":"2",
"fields":[
{
"Photocard":{
"type":"4T1P",
"kvals":[
["Name"],
["Demographics", "Sex"],
["Demographics", "DOB"],
["Demographics", "City"]
],
"dict": {
"file_type":"png",
"file_field":"img1"
}
}
},
{
"City":{
"type":"t2",
"kval":[
"City/Town"
]
}
},
{
"District":{
"type":"t2",
"kval":[
"District"
]
}
}
]
},
"scheme": "C02-EDC-S-B64PNG"
}
return await axios($, {
method: "post",
url: `${this.qryptal.$auth.host}:${this.qryptal.$auth.port}/v2/Vqodes/`,
headers: {
"Authorization": `Token ${this.qryptal.$auth.token}`,
},
data,
})
},
})
The Stripe API is a powerful tool for managing online payments, subscriptions, and invoices. With Pipedream, you can leverage this API to automate payment processing, monitor transactions, and sync billing data with other services. Pipedream's no-code platform allows for quick integration and creation of serverless workflows that react to Stripe events in real-time. For instance, you might automatically update customer records, send personalized emails after successful payments, or escalate failed transactions to your support team.
import stripe from 'stripe'
export default defineComponent({
props: {
stripe: {
type: "app",
app: "stripe",
}
},
async run({steps, $}) {
const client = stripe(this.stripe.$auth.api_key)
return await client.accounts.list({ limit: 1 })
},
})