Skip to content

Commit

Permalink
add creatInvoice example
Browse files Browse the repository at this point in the history
  • Loading branch information
ramin committed Mar 18, 2024
1 parent 24e33d5 commit 33d5dc5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,20 @@ Some helpful examples are available in [the examples folder](./examples)

### Create Invoice

```go
client = client.WithBaseURL("http://localhost:8282")

invoice, err := client.CreateInvoice({
Description: "Drugqs"
Amount: 100000,
})
if err != nil {
panic(err)
}

fmt.Println(invoice.Serialized)

```


#### Watching Events
Expand Down

0 comments on commit 33d5dc5

Please sign in to comment.