Forwarded from 𝕜𝕚𝕕𝕒
Telebirr API
Telebirr is a mobile wallet payment system that allows users to make transactions using their mobile phones. The Telebirr API enables developers to integrate Telebirr's payment capabilities into their web applications, making it easier to handle payments seamlessly.
Installation
To use the Telebirr API in your Node.js application, you can install the telebirr-sdk package via npm:
npm install telebirr-sdk
Initialization
First, initialize the Telebirr payment API with your API credentials:
import { Telebirr } from 'telebirr-sdk';
const telebirr = new Telebirr(appId, appKey, shortCode, publicKey);
Replace appId, appKey, shortCode, and publicKey with the actual values provided by Telebirr.
Encrypt Payload
Encrypt a payload using the provided encryption method:
const encryptedData = telebirr.encrypt({
nonce: 'unique_nonce',
outTradeNo: 'transaction_id',
returnUrl: 'return_url',
subject: 'payment_subject',
timeoutExpress: 'timeout_express',
timestamp: 'timestamp',
totalAmount: 'total_amount',
receiveName: 'receiver_name', // optional
notifyUrl: 'notification_url', // optional
});
Sign Data
Sign the payload data for security purposes:
const signature = telebirr.signData({
nonce: 'unique_nonce',
outTradeNo: 'transaction_id',
returnUrl: 'return_url',
subject: 'payment_subject',
timeoutExpress: 'timeout_express',
timestamp: 'timestamp',
totalAmount: 'total_amount',
receiveName: 'receiver_name', // optional
notifyUrl: 'notification_url', // optional
});
Initialize Web Payment
Initiate a web payment transaction using the signature and encrypted data:
telebirr.initWebPayment(url, signature, encryptedData)
.then(response => {
console.log("Response from Telebirr:", response);
// Handle successful response here
})
.catch(error => {
console.error("Error from Telebirr:", error);
// Handle error here
});
Example Response
Upon a successful request, the API returns a response like this:
{
"code": 0,
"msg": "success",
"data": {
"toPayUrl": "https://h5pay.trade.pay/payId=RE9879T0972S"
}
}
The code 0 always indicates success.
Important Considerations
When integrating the Telebirr API, ensure that you handle errors appropriately and secure your API credentials. Additionally, always verify the response from the API to confirm the success of the transaction.
For more details and examples, you can refer to the Telebirr GitHub repository.
Telebirr is a mobile wallet payment system that allows users to make transactions using their mobile phones. The Telebirr API enables developers to integrate Telebirr's payment capabilities into their web applications, making it easier to handle payments seamlessly.
Installation
To use the Telebirr API in your Node.js application, you can install the telebirr-sdk package via npm:
npm install telebirr-sdk
Initialization
First, initialize the Telebirr payment API with your API credentials:
import { Telebirr } from 'telebirr-sdk';
const telebirr = new Telebirr(appId, appKey, shortCode, publicKey);
Replace appId, appKey, shortCode, and publicKey with the actual values provided by Telebirr.
Encrypt Payload
Encrypt a payload using the provided encryption method:
const encryptedData = telebirr.encrypt({
nonce: 'unique_nonce',
outTradeNo: 'transaction_id',
returnUrl: 'return_url',
subject: 'payment_subject',
timeoutExpress: 'timeout_express',
timestamp: 'timestamp',
totalAmount: 'total_amount',
receiveName: 'receiver_name', // optional
notifyUrl: 'notification_url', // optional
});
Sign Data
Sign the payload data for security purposes:
const signature = telebirr.signData({
nonce: 'unique_nonce',
outTradeNo: 'transaction_id',
returnUrl: 'return_url',
subject: 'payment_subject',
timeoutExpress: 'timeout_express',
timestamp: 'timestamp',
totalAmount: 'total_amount',
receiveName: 'receiver_name', // optional
notifyUrl: 'notification_url', // optional
});
Initialize Web Payment
Initiate a web payment transaction using the signature and encrypted data:
telebirr.initWebPayment(url, signature, encryptedData)
.then(response => {
console.log("Response from Telebirr:", response);
// Handle successful response here
})
.catch(error => {
console.error("Error from Telebirr:", error);
// Handle error here
});
Example Response
Upon a successful request, the API returns a response like this:
{
"code": 0,
"msg": "success",
"data": {
"toPayUrl": "https://h5pay.trade.pay/payId=RE9879T0972S"
}
}
The code 0 always indicates success.
Important Considerations
When integrating the Telebirr API, ensure that you handle errors appropriately and secure your API credentials. Additionally, always verify the response from the API to confirm the success of the transaction.
For more details and examples, you can refer to the Telebirr GitHub repository.
Forwarded from Chapi Dev Talks
Registration is Open for DevMeetup V3!🎉🎉
Join us on February 22 at Capstone ALX Tech Hub, Lideta, for a day of inspiring keynotes, networking, hackathons, and fun challenges. Hear from founders and developers sharing their journeys!
📅 Date: February 22
⏰ Time: 9:00 AM
📍 Location: Capstone ALX Tech Hub, Lideta
📌 RSVP Here: https://devmeetup.et/register
Spaces are limited secure your spot now!
For any collaborations contact @chapimenge or @Merry_Abate16.
A huge shoutout to our amazing sponsors:
🥇 Platinum Sponsors: ALX Ethiopia, iceaddis, Convex Technologies, Chapa and Yegara Host.
🥉 Silver Sponsors: Horan Software, Kuraz Tech, along with individual supporters who’ve made this possible. Thank you all for your incredible support!
#DevMeetupV3 #DeveloperCommunity #Innovation
Join us on February 22 at Capstone ALX Tech Hub, Lideta, for a day of inspiring keynotes, networking, hackathons, and fun challenges. Hear from founders and developers sharing their journeys!
📅 Date: February 22
⏰ Time: 9:00 AM
📍 Location: Capstone ALX Tech Hub, Lideta
📌 RSVP Here: https://devmeetup.et/register
Spaces are limited secure your spot now!
For any collaborations contact @chapimenge or @Merry_Abate16.
A huge shoutout to our amazing sponsors:
🥇 Platinum Sponsors: ALX Ethiopia, iceaddis, Convex Technologies, Chapa and Yegara Host.
🥉 Silver Sponsors: Horan Software, Kuraz Tech, along with individual supporters who’ve made this possible. Thank you all for your incredible support!
#DevMeetupV3 #DeveloperCommunity #Innovation
Forwarded from Frectonz
Devtopia
[apple]
[spotify]
[twitter announcement]
[linkedin announcement]
#001 is out. Me and Yafet had a great conversation with Beka (@bekacru_c), creator of better-auth.[apple]
[spotify]
[twitter announcement]
[linkedin announcement]
Forwarded from ኪዳን ዘኢየሱስ
የዓቢይ ጾም የመጀመሪያ ሳምንት ንባብ
ማቴዎስ 6
16: “ስትጦሙም፥ እንደ ግብዞች አትጠውልጉ፤ ለሰዎች እንደ ጦመኛ ሊታዩ ፊታቸውን ያጠፋሉና፤ እውነት እላችኋለሁ፥ ዋጋቸውን ተቀብለዋል።
17-18: አንተ ግን ስትጦም፥ በስውር ላለው አባትህ እንጂ እንደ ጦመኛ ለሰዎች እንዳትታይ ራስህን ተቀባ ፊትህንም ታጠብ፤ በስውር የሚያይ አባትህም በግልጥ ይከፍልሃል።
የምናደርገውን ኹሉ ሰው እንዲያይልን ከኾነ የምናደርገው ዋጋችንን ከሰዎች ተቀብለናልና ከእግዚአብሔር ዘንድ ዋጋ የለንም በስውር የምናደርገውን ግን ከሰማይ አባታችን ዘንድ ወጋ እናገኝበታለን። ጾማችን ለመታየት ፣ ጾመኞች ናቸው ለመባል አይኹን ይልቅስ ብልና ነቀዝ የማያበላሸው ሰማያዊውን መዝገብ ለማግኘት ይኹን እርሱም ኢየሱስ ክርስቶስ ነው "መዝገብነ ዘኢይረክቦ ሠራቂ ወኢያማስኖ ፃፄ ወቁንቁኔ ውእቱ ኢየሱስ ክርስቶስ - ሌባ የማይቀርበው ብልና ነቀዝ የማያበላሸው መዝገባችን እርሱ ኢየሱስ ክርስቶስ ነው" እንዲል አባ ጊዮርጊስ።
እንደ ግብዞች አትጹሙ ፤ እንኳን አደረሳችሁ መልካም የዓቢይ ጾም። ያው የኢትዮጵያን ምንባባት ከብዙ ቦታ ስለምታገኙት እኔ በዚህ ጾም የኮፕቲክን አቀርብላችኋለው የተባረከ የጌታ ቀን።
ማቴዎስ 6
16: “ስትጦሙም፥ እንደ ግብዞች አትጠውልጉ፤ ለሰዎች እንደ ጦመኛ ሊታዩ ፊታቸውን ያጠፋሉና፤ እውነት እላችኋለሁ፥ ዋጋቸውን ተቀብለዋል።
17-18: አንተ ግን ስትጦም፥ በስውር ላለው አባትህ እንጂ እንደ ጦመኛ ለሰዎች እንዳትታይ ራስህን ተቀባ ፊትህንም ታጠብ፤ በስውር የሚያይ አባትህም በግልጥ ይከፍልሃል።
የምናደርገውን ኹሉ ሰው እንዲያይልን ከኾነ የምናደርገው ዋጋችንን ከሰዎች ተቀብለናልና ከእግዚአብሔር ዘንድ ዋጋ የለንም በስውር የምናደርገውን ግን ከሰማይ አባታችን ዘንድ ወጋ እናገኝበታለን። ጾማችን ለመታየት ፣ ጾመኞች ናቸው ለመባል አይኹን ይልቅስ ብልና ነቀዝ የማያበላሸው ሰማያዊውን መዝገብ ለማግኘት ይኹን እርሱም ኢየሱስ ክርስቶስ ነው "መዝገብነ ዘኢይረክቦ ሠራቂ ወኢያማስኖ ፃፄ ወቁንቁኔ ውእቱ ኢየሱስ ክርስቶስ - ሌባ የማይቀርበው ብልና ነቀዝ የማያበላሸው መዝገባችን እርሱ ኢየሱስ ክርስቶስ ነው" እንዲል አባ ጊዮርጊስ።
እንደ ግብዞች አትጹሙ ፤ እንኳን አደረሳችሁ መልካም የዓቢይ ጾም። ያው የኢትዮጵያን ምንባባት ከብዙ ቦታ ስለምታገኙት እኔ በዚህ ጾም የኮፕቲክን አቀርብላችኋለው የተባረከ የጌታ ቀን።
Forwarded from Dagmawi Babi
Guillermo Rauch — Upbringings, Education, Career, NextJS, Vercel, V0, Advises and More
• youtube.com/watch?v=aKNUJxioIRU
I had so much fun talking to RauchG, he's very chill and subtly smart in his words. Also this's the first episode where my editor changed somethings up, you're gonna see some infographics and stuff now.
Hope you enjoy this! 😊
#DagmawiBabiPodcast #GuillermoRauch
@Dagmawi_Babi
• youtube.com/watch?v=aKNUJxioIRU
I had so much fun talking to RauchG, he's very chill and subtly smart in his words. Also this's the first episode where my editor changed somethings up, you're gonna see some infographics and stuff now.
Hope you enjoy this! 😊
#DagmawiBabiPodcast #GuillermoRauch
@Dagmawi_Babi
❤1⚡1🥰1
Forwarded from Tech Nerd (Tech Nerd)
Node.js 23.6 Now Runs TypeScript Natively - InfoQ
https://www.infoq.com/news/2025/03/node-23-runs-typescript-natively/
https://www.infoq.com/news/2025/03/node-23-runs-typescript-natively/
InfoQ
Node.js 23.6 Now Runs TypeScript Natively
The Node team recently announced shipping TypeScript native support in Node 23.6. Node developers can now run TypeScript files without any extra configuration or flags. The feature, which was experimental in Node 22.6, is now stable. Native TypeScript support…
Forwarded from Tech Nerd (Tech Nerd)
YouTube
Lynx is incredible (deep dive into Tiktok's React Native killer)
TikTok just released a React Native killer. Lynx looks really really cool. Tt's not just a React Native alternative, but a different way to think about mobile apps all together.
Thank you Zephyr Cloud for sponsoring! Check them out at: https://soydev.link/zephyr…
Thank you Zephyr Cloud for sponsoring! Check them out at: https://soydev.link/zephyr…
Forwarded from Beka (Beka)
https://fxtwitter.com/aidenybai/status/1899840110449111416
same.dev is going viralll and they are using Better Auth 🥰
same.dev is going viralll and they are using Better Auth 🥰
FxTwitter
Aiden Bai (@aidenybai)
Introducing Same.dev
Clone any website with pixel perfect accuracy
One-shots Nike, Apple TV, Minecraft, and more!
Clone any website with pixel perfect accuracy
One-shots Nike, Apple TV, Minecraft, and more!
as you know, recently typescript compiler rewritten by another language called 'GO'. What was the previous ?
Anonymous Quiz
51%
TypeScript
20%
JavaScript
15%
C++
6%
Java
8%
C
Forwarded from Tech Nerd (Tech Nerd)
YouTube
Devtopia Interlude E02 - Typescript, WASM and more
Fraol and Yafet discuss the past two weeks in tech as well as their adventures in tech. Topics ranging from Typescript, Self-hosted languages, WASM and Image formats to projects they've worked on. Enjoy.
Relevant links
Typescript News: https://devblogs…
Relevant links
Typescript News: https://devblogs…