Class PaymentsClient


  • public class PaymentsClient
    extends java.lang.Object
    • Constructor Detail

      • PaymentsClient

        public PaymentsClient​(ClientOptions clientOptions)
    • Method Detail

      • withRawResponse

        public RawPaymentsClient withRawResponse()
        Get responses with HTTP metadata like headers
      • createCheckoutSessionV1

        public CreateCheckoutSessionRes createCheckoutSessionV1​(CreateCheckoutSessionReq request)
        Creates a Stripe checkout session for a subscription with pricing based on the selected plan. | (CreateCheckoutSessionReq) -> (CreateCheckoutSessionRes)
      • syncStripeToClerkV1

        public boolean syncStripeToClerkV1()
        Synchronizes subscription data from Stripe to the authentication service for the current user. | () -> (bool)
      • syncStripeToClerkV1

        public boolean syncStripeToClerkV1​(RequestOptions requestOptions)
        Synchronizes subscription data from Stripe to the authentication service for the current user. | () -> (bool)