diff --git a/commands/paymails.go b/commands/paymails.go index 91adee9..8bf68b4 100644 --- a/commands/paymails.go +++ b/commands/paymails.go @@ -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. }