Stripe Bitcoin Charge Payment Method (Charges/ChargePaymentMethodDetailsBitcoin.cs)

stripe-dotnet · src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBitcoin.cs · csharp · Apache-2.0
payments, integration, tag:json

Represents Bitcoin payment method details within a Stripe charge entity, including address, amounts, and refunds. Reuse when parsing Stripe webhook payloads or API responses containing Bitcoin transactions.

// Source: https://github.com/stripe/stripe-dotnet | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
namespace Stripe
{
    using Newtonsoft.Json;
    using STJS = System.Text.Json.Serialization;

    public class ChargePaymentMethodDetailsBitcoin : StripeEntity<ChargePaymentMethodDetailsBitcoin>
    {
        [JsonProperty("address")]
        [STJS.JsonPropertyName("address")]
        public string Address { get; set; }

        [JsonProperty("amount")]
        [STJS.JsonPropertyName("amount")]
        public long? Amount { get; set; }

        [JsonProperty("amount_charged")]
        [STJS.JsonPropertyName("amount_charged")]
        public long? AmountCharged { get; set; }

      

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key