Class PaymentMethodIntentDTO
What a browser needs to save a payment method without a payment, for a caller that hosts its own form.
public record PaymentMethodIntentDTO : IEquatable<PaymentMethodIntentDTO>
- Inheritance
-
PaymentMethodIntentDTO
- Implements
- Inherited Members
Constructors
PaymentMethodIntentDTO(string, string?)
What a browser needs to save a payment method without a payment, for a caller that hosts its own form.
public PaymentMethodIntentDTO(string IntentId, string? ClientSecret)
Parameters
IntentIdstringThe provider's identifier for the attempt.
ClientSecretstringWhat the browser confirms with. It is scoped to this one attempt, but it is still a credential: it belongs in the response to the customer it was created for, and nowhere else.
Properties
ClientSecret
What the browser confirms with. It is scoped to this one attempt, but it is still a credential: it belongs in the response to the customer it was created for, and nowhere else.
public string? ClientSecret { get; init; }
Property Value
IntentId
The provider's identifier for the attempt.
public string IntentId { get; init; }