POST/api/public/access-request/stripe/create-checkout
Lumikha ng isang Stripe checkout session para sa napiling package ng subscription.
Auth & Absicherung
Keine Authentifizierung erforderlich
Idempotent: Nein
Parameter
package(body, string, erforderlich)— Code ng pakete.Beispiel-Request
{"package":"starter"}Beispiel-Response
{"ok":false,"error":"STRIPE_NOT_READY","message":"Ang Stripe payment ay pansamantalang hindi magagamit."}Fehlercodes
503 STRIPE_NOT_READY — Ang Stripe ay hindi naka-configure/hindi magagamit.Live-Test-Nachweis
Sinubukan lamang ang sitwasyon ng error kung saan hindi nakakonfigura ang Stripe (503), katulad ng sa PayPal — walang aktwal na pagtawag sa Stripe ayon sa mga alituntunin sa pagsubok.