The official Go SDK for BlindPay - Global payments infrastructure made simple.
go get github.com/blindpaylabs/blindpay-go- Go 1.21 or higher
- BlindPay API credentials (API Key and Instance ID)
package main
import (
"context"
"fmt"
"log"
"github.com/blindpaylabs/blindpay-go"
)
func main() {
// Create a new BlindPay client
client, err := blindpay.New(
"your-api-key-here",
"your-instance-id-here",
)
if err != nil {
log.Fatal(err)
}
// Get available payment rails
rails, err := client.Available.GetRails(context.Background())
if err != nil {
log.Fatal(err)
}
fmt.Printf("Found %d payment rails\n", len(rails))
for _, rail := range rails {
fmt.Printf("- %s (%s) in %s\n", rail.Label, rail.Value, rail.Country)
}
}go run main.goFor detailed API documentation, visit:
- 📧 Email: gabriel@blindpay.com
- 🐛 Issues: GitHub Issues
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by the BlindPay team