Class AuthorizationCreateParams


public class AuthorizationCreateParams extends ApiRequestParams
  • Method Details

    • builder

      public static AuthorizationCreateParams.Builder builder()
    • getAmount

      public Long getAmount()
      Required. The total amount to attempt to authorize. This amount is in the provided currency, or defaults to the card's currency, and in the smallest currency unit.
    • getAmountDetails

      public AuthorizationCreateParams.AmountDetails getAmountDetails()
      Detailed breakdown of amount components. These amounts are denominated in currency and in the smallest currency unit.
    • getAuthorizationMethod

      public AuthorizationCreateParams.AuthorizationMethod getAuthorizationMethod()
      How the card details were provided. Defaults to online.
    • getCard

      public String getCard()
      Required. Card associated with this authorization.
    • getCurrency

      public String getCurrency()
      The currency of the authorization. If not provided, defaults to the currency of the card. Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getExpand

      public List<String> getExpand()
      Specifies which fields in the response should be expanded.
    • getExtraParams

      public Map<String,Object> getExtraParams()
      Map of extra parameters for custom features not available in this client library. The content in this map is not serialized under this field's @SerializedName value. Instead, each key/value pair is serialized as if the key is a root-level field (serialized) name in this param object. Effectively, this map is flattened to its parent instance.
    • getIsAmountControllable

      public Boolean getIsAmountControllable()
      If set true, you may provide amount to control how much to hold for the authorization.
    • getMerchantData

      public AuthorizationCreateParams.MerchantData getMerchantData()
      Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.
    • getNetworkData

      public AuthorizationCreateParams.NetworkData getNetworkData()
      Details about the authorization, such as identifiers, set by the card network.
    • getVerificationData

      public AuthorizationCreateParams.VerificationData getVerificationData()
      Verifications that Stripe performed on information that the cardholder provided to the merchant.
    • getWallet

      The digital wallet used for this transaction. One of apple_pay, google_pay, or samsung_pay. Will populate as null when no digital wallet was utilized.