Skip to content

Commit

Permalink
feat(SPV-1340): fix create paymail model
Browse files Browse the repository at this point in the history
  • Loading branch information
dzolt-4chain committed Jan 9, 2025
1 parent cf2264d commit c14e225
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions commands/paymails.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import "github.com/bitcoin-sv/spv-wallet-go-client/internal/api/v1/queryparams"
// CreatePaymail defines the parameters required to create a new paymail address,
// including associated metadata such as the public name and avatar.
type CreatePaymail struct {
Metadata queryparams.Metadata `json:"metadata"` // Metadata associated with the paymail as key-value pairs.
Key string `json:"key"` // The xpub key linked to the paymail.
Address string `json:"address"` // The paymail address to be created.
PublicName string `json:"public_name"` // The public display name associated with the paymail.
Avatar string `json:"avatar"` // The URL of the paymail's avatar image.
Metadata queryparams.Metadata `json:"metadata"` // Metadata associated with the paymail as key-value pairs.
Key string `json:"key"` // The xpub key linked to the paymail.
Address string `json:"address"` // The paymail address to be created.
PublicName string `json:"publicName"` // The public display name associated with the paymail.
Avatar string `json:"avatar"` // The URL of the paymail's avatar image.
}

0 comments on commit c14e225

Please sign in to comment.