ReelPay is committed to helping users quickly transition from Web 2.0 to Web 3.0, attract new users, and collect mainstream currency protocol gateways like BTC, ETH, BSC, SOL, and TRX. Moreover, it aims to help safeguard payment security and provide services such as contract receiving, notifications for address receiving, QR Code receiving, and social promotion.
Documentation is at https://docs.reelpay.com/.
go: >=1.16
At least reelpay sdk-go version 1.0.0 is required for all components to work properly.
go get github.com/ReelPayment/sdk-go
To use this extension, you have to configure the Connection class in your application configuration:
import (
reelpay "github.com/ReelPayment/sdk-go"
)
func main() {
transaction := reelpay.Transactions{
AppID: "eqrbntqbi5uqvkpr",
AppKey: "XhAlbICW10VJnWGruPL0NSnvb6946JDQ",
}
res := transaction.EntrustPay(&reelpay.EntrustPay{
OutTradeNo: "jSWfrolOTdsadcYuUwkJbdw9IJUBeV",
Symbol: "USD",
Amount: "1.2",
Name: "Product name",
Image: "https://reelpay.com/product.jpg",
})
fmt.Println(res)
}
Register and open a merchant account, go to application management after login background, and create and apply for an application to get the corresponding Appied and Appkey.