Class Body18
public class Body18
- Inheritance
-
Body18
- Inherited Members
Properties
AdditionalProperties
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
Property Value
ExtraMetadata
Optional extra data to be passed to in the payment requirements.
[JsonProperty("extraMetadata", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, object> ExtraMetadata { get; set; }
Property Value
Method
The HTTP method used to access the resource
[JsonProperty("method", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public Method2 Method { get; set; }
Property Value
Network
The blockchain network where the payment should be processed
[JsonProperty("network", Required = Required.Always)]
public Network Network { get; set; }
Property Value
Price
The price for accessing the resource - either a USD amount (e.g., '$0.10') or a specific token amount
[JsonProperty("price", Required = Required.Always)]
public Price Price { get; set; }
Property Value
RecipientAddress
Optional recipient address to receive the payment if different from your facilitator server wallet address
[JsonProperty("recipientAddress", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string RecipientAddress { get; set; }
Property Value
ResourceUrl
The URL of the resource being protected by the payment
[JsonProperty("resourceUrl", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public Uri ResourceUrl { get; set; }
Property Value
RouteConfig
Optional configuration for the payment middleware route
[JsonProperty("routeConfig", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public RouteConfig RouteConfig { get; set; }
Property Value
ServerWalletAddress
Your server wallet address, defaults to the project server wallet address
[JsonProperty("serverWalletAddress", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string ServerWalletAddress { get; set; }