Razorpay Go Client
Golang bindings for interacting with the Razorpay API
This is primarily meant for merchants who wish to perform interactions with the Razorpay API programatically
Read up here for getting started and understanding the payment flow with Razorpay: https://docs.razorpay.com/docs/getting-started
Documentation of Razorpay's API and their usage is available at https://docs.razorpay.com
You need to setup your key and secret using the following: You can find your API keys at https://dashboard.razorpay.com/#/app/keys.
import ( razorpay "github.com/razorpay/razorpay-go" ) client := razorpay.NewClient("<YOUR_API_KEY>", "<YOUR_API_SECRET>")
Note: All methods below return a
error. All methods accept an
extraHeaders param of type
map[string]string, allowing you to optinally set extra HTTP headers on the request.
- Payment Links
- Smart Collect
- QR Code
- Paper NACH
- Register Emandate and Charge First Payment Together
- Register NACH and Charge First Payment Together
The Razorpay Go SDK is released under the MIT License. See LICENSE file for more details.