internal

Create payment method setup intent

Changed on

A SetupIntent for collecting a card in the app with the Stripe Payment Element.

post/api/billing/payment-method-setup-intent

Request

  • Base URL
    https://app.scanopy.net
  • URL
    https://app.scanopy.net/api/billing/payment-method-setup-intent
  • Auth
    • API key in header Authorization
    • or API key in cookie session_id

Response

SetupIntent client secret

errorstring nullable

Not sent on a successful response. Failure messages arrive in an ApiErrorResponse.

successboolean required

Always true on a successful response.

Example response

{
  "meta": {
    "api_version": 1,
    "server_version": "0.19.4"
  }
}

Changes