Stripe

Create a Stripe payment intent for deposit

Creates a payment intent for a user to make a deposit or pay for a pro campaign

post/api/stripe/create-deposit-intent

Request

  • Base URL: https://api.kolect.com
  • URL: https://api.kolect.com/api/stripe/create-deposit-intent
  • Auth: HTTP bearer

Request body

userIdstring required

Clerk user ID for authentication

amountnumber required

Amount to charge in USD

paymentMethodIdstring

Optional Stripe payment method ID to use for the charge

Response

Payment intent created successfully

clientSecretstring

Stripe client secret for the payment intent

paymentIntentIdstring

ID of the created payment intent

customerIdstring

Stripe customer ID

Changes

No recorded changes to this operation across all 1 revision of this API.