How to specify subscription_data.trial_period_days in stripe /v1/checkout/sessions

links to stripe knowledge base:

https://stackoverflow.com/questions/64732447/trial-period-in-checkout-session-in-stripe

https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_end

I need to specify the trial_period_days via the api call interface of flutter flow. How do i do about doing that? I have tired as seen in the attached screenshot however i am getting a error

"doc_url": "https://stripe.com/docs/error-codes/parameter-unknown",

"message": "Received unknown parameter: subscription_data .trial_period_days",

"param": " subscription_data .trial_period_days",

"request_log_url": "https://dashboard.stripe.com/test/logs/req_aaAmzHHNefrogg?t=1700389196",

"type": "invalid_request_error"

}

}

5 replies