Install the Go SDK and create your first transaction.
This guide walks you through installing the Blnk Go SDK, initializing the client, and creating your first transaction.By the end, you’ll have a working connection to Blnk and be ready to build financial products from your Go application.
1
Install the SDK
Create a Go project and install the SDK. v1.2.0 and later require Go 1.22 or later.
go mod init blnk-quickstartgo get github.com/blnkfinance/blnk-go
2
Client initialization
Parse your Blnk base URL and create a client. Pass a pointer to your API key when your instance requires authentication. The SDK sends it as the X-Blnk-Key header.Use nil when running locally without auth.
We are very happy to help you make the most of Blnk, regardless of whether it is your first time or you are switching from another tool.To ask questions or discuss issues, please contact us or join our Discord community.