The most popular international top-up platform. Changing billions of lives by accelerating mobile access.
Go to siteDingConnect API provides a platform for connecting with mobile operators globally, allowing you to recharge phones or send airtime to anyone, anywhere. Within Pipedream, you can harness this API to automate mobile top-ups, manage your DingConnect account, and integrate with other services for comprehensive workflows. The API can be particularly powerful when combined with platforms that require notifications, confirmations, or financial transactions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dingconnect: {
type: "app",
app: "dingconnect",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dingconnect.com/api/V1/GetBalance`,
headers: {
Authorization: `Bearer ${this.dingconnect.$auth.oauth_access_token}`,
},
})
},
})
Automated Customer Rewards: Trigger a workflow that sends mobile top-ups through DingConnect as rewards when customers reach certain milestones on your platform. This can help increase customer loyalty and engagement.
E-commerce Order Confirmation: Set up a Pipedream workflow that sends a small mobile credit via DingConnect as a thank-you gift every time a customer completes a purchase. This could be tied in with Shopify or WooCommerce for an e-commerce store.
Alert System for Service Uptime: Integrate DingConnect with monitoring tools like UptimeRobot. Whenever your service goes down, you could use Pipedream to automatically send a notification via mobile top-up with a predefined message to the responsible personnel to take immediate action.
Estimates prices send values using the DingConnect API. See the documentation
Get the current agent balance from DingConnect. See the documentation
Retrieves a list of products from DingConnect. See the documentation
DingConnect uses OAuth authentication. When you connect your DingConnect account, Pipedream will open a popup window where you can sign into DingConnect and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any DingConnect API.
Pipedream requests the following authorization scopes when you connect your account:
POST
https://idp.ding.com/connect/token
content-type: application/x-www-form-urlencoded
accept: application/json
client_id={{custom_fields.client_id}}
&
client_secret={{custom_fields.client_secret}}
&
grant_type=client_credentials