Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(SPV-1340): fix create paymail model #313

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
}
Loading