https://github.com/aldiwildan77/cryptomus-sdk-go
Go SDK for Cryptomus – seamless crypto payments integration (payments, payouts, and transaction tracking).
https://github.com/aldiwildan77/cryptomus-sdk-go
api cryptomus cryptomus-api cryptomus-sdk wrapper
Last synced: about 1 month ago
JSON representation
Go SDK for Cryptomus – seamless crypto payments integration (payments, payouts, and transaction tracking).
- Host: GitHub
- URL: https://github.com/aldiwildan77/cryptomus-sdk-go
- Owner: Aldiwildan77
- License: mit
- Created: 2025-02-17T02:31:27.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2026-02-25T19:37:28.000Z (4 months ago)
- Last Synced: 2026-05-13T10:46:37.616Z (about 1 month ago)
- Topics: api, cryptomus, cryptomus-api, cryptomus-sdk, wrapper
- Language: Go
- Homepage: https://doc.cryptomus.com
- Size: 118 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cryptomus SDK Go
Cryptomus SDK Go is a Go library for interacting with the Cryptomus API. You can see the documentation for the Cryptomus API at [https://doc.cryptomus.com/](https://doc.cryptomus.com/).
## Features
- Payments Integration (Create Invoice, Get Invoice, Get Invoices, Cancel Invoice, etc.)
- Payout Integration (Create Payout, Get Payout, Get Payouts, Cancel Payout, etc.)
- Recurring Payment Integration (Create Recurring Payment, Get Recurring Payment, Get Recurring, Cancel Recurring Payment, etc.)
- Webhooks Integration (Verify Webhook, Resend Webhook)
- Static Wallet
- Support Balance Information
- Support Exchange Rate Information
## Installation
To install the Cryptomus SDK Go, you need to run the following command:
[](https://pkg.go.dev/github.com/Aldiwildan77/cryptomus-sdk-go)
```bash
go get github.com/Aldiwildan77/cryptomus-sdk-go
```
## Usage
Here is an example of how to use the Cryptomus SDK Go, you can see the full example in the [examples](examples) directory.
### Create Invoice
```go
package main
import (
"log"
cryptomus "github.com/Aldiwildan77/cryptomus-sdk-go"
)
func main() {
sdk := cryptomus.New(
cryptomus.WithMerchant("fill your merchant id"),
cryptomus.WithPaymentToken("fill your payment token"),
)
result, err := sdk.CreateInvoice(&cryptomus.CreateInvoiceRequest{
Amount: "15",
Currency: "USD",
OrderID: "123456",
Lifetime: 3600,
})
if err != nil {
log.Fatal(err)
}
log.Println("Create invoice successfully.")
log.Printf("Create invoice: %#+v", result)
}
```
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Author
[Muhammad Wildan Aldiansyah](https://aldiwildan.me)