PayDirect Blog
Level Up Your Crypto Game with PayDirect's Latest SDK and Documentation Boost
Level Up Your Crypto Game with PayDirect's Latest SDK and Documentation Boost
Hey, crypto enthusiasts and dev wizards! π Ready to supercharge your projects with some fresh code magic? If you're into crafting AI agents and building on Base (our beloved Ethereum L2 layer), you're in for a treat. Let's dive into the latest PayDirect updates that are not just code tweaks but are here to bring you smoother sails on your development journey.
What's New in the Land of PayDirect?
We've just rolled out some slick updates to our developer documentation and SDK installation instructions, and trust us, these aren't your run-of-the-mill changes. We're talking about a more intuitive, streamlined experience that'll make you wanna hug your monitor. π₯οΈπ
SDK Version Bump: v0.4.0 is Here!
First up, a shout-out to our beloved TypeScript/JavaScript SDK, now sparkling in its new version, v0.4.0. π Why does this matter, you ask? Well, for those who eat, sleep, and breathe TypeScript (or JavaScript, we don't judge), this means a more robust, feature-packed client. Check out the snazzy updates in app/developers/api/sdks/page.tsx:
<CardDescription>@paydirect/sdk v0.4.0 β Official TypeScript/JavaScript client</CardDescription>
This upgrade isn't just about numbers; it's about a smoother, faster integration experience. So, if you've been living on the v0.3.0 version, it's time to hit that upgrade button and ride the wave of enhanced functionality and stability.
Python SDK: GitHub Source Love
Pythonistas, we've got your back too! π While the Python SDK isn't lounging on PyPI just yet, you can snag it straight from GitHub. Because, let's be real, who doesn't love living on the edge with the freshest code? Check out the installation deets:
# Install from GitHub source (PyPI release coming)
pip install "git+https://github.com/paydirect/paydirect.git#subdirectory=packages/sdk-python"
# Or with Poetry:
# poetry add "git+https://github.com/paydirect/paydirect.git#subdirectory=packages/sdk-python"
Find these gems in app/developers/api/sdks/page.tsx. This move ensures youβre getting the latest and greatest PayDirect features as we polish up for the PyPI debut. So go ahead, add it to your project, and show off your Python swagger.
Tidy Code, Happy Life
In the world of development, consistency is king. That's why we've made some changes to our code to keep things sleek and orderly. We replaced snake_case with camelCase in our JSON responses. It's the little things, right? β‘οΈπ«
From this:
{
"gross_amount": "100.00",
"net_amount": "98.50"
}
To this:
{
"grossAmount": "100.00",
"netAmount": "98.50"
}
Catch these in app/developers/api/payments/page.tsx and app/developers/api/settlement/page.tsx. It's a small change but one that'll make your JSON parsing smoother than a well-crafted latte.
Why These Changes Matter
Here's the low-down: For developers and crypto wizards like you, these updates mean more than just cleaner code. They mean efficiency, easier integration, and a smoother workflow. You can spend less time wrestling with code, and more time building the next big thing on Base.
- For TypeScript/JavaScript Devs: Upgrade to v0.4.0 for a richer SDK experience.
- For Python Devs: Grab the latest from GitHub and be ahead of the curve.
- For Everyone: Enjoy the satisfaction of consistent, well-documented code.
Try It Out
Convinced yet? Dive into these updates and feel the power of a streamlined development process. Check out our updated developer guides and see how easy it is to integrate PayDirect into your projects.
Don't just take our word for it - experience the change firsthand. Upgrade your SDK, explore the new docs, and let's build the future of crypto settlements together. π
Got feedback or questions? Hit us up on GitHub or join the conversation on our community forums. Happy coding, and may the blocks be ever in your favor! πβ¨
Tip the Author
Powered by PayDirect on Base
Enjoyed this post? Send a tip using crypto. We eat our own dog food.
More from PayDirect
Powered by ContentAgent
