Class Body12
Request to create a product to be purchased. Users can purchase the product via hosted UI (link is returned), a transaction execution referencing the product ID, or embedded widgets with the product ID.
public class Body12
- Inheritance
-
Body12
- Inherited Members
Properties
AdditionalProperties
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
Property Value
Description
The description of the product
[JsonProperty("description", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Description { get; set; }
Property Value
ImageUrl
The URL of the product image
[JsonProperty("imageUrl", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string ImageUrl { get; set; }
Property Value
Name
The name of the product
[JsonProperty("name", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Name { get; set; }
Property Value
PurchaseData
App specific purchase data for this payment
[JsonProperty("purchaseData", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public object PurchaseData { get; set; }
Property Value
Recipient
The wallet address or ENS name that will receive the payment for the product
[JsonProperty("recipient", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string Recipient { get; set; }
Property Value
Token
The token to purchase
[JsonProperty("token", Required = Required.Always)]
[Required]
public Token Token { get; set; }