stripe session

This commit is contained in:
CHIEFSOFT\ameye
2025-08-23 17:04:06 -04:00
parent b1d79d87a3
commit 3b0de8e10a
4 changed files with 138 additions and 4 deletions
+14
View File
@@ -0,0 +1,14 @@
from marshmallow import Schema, fields
class SubscriptionSession(Schema):
token = fields.Str(required=True)
uid = fields.Str(required=True)
customerId = fields.Str(required=True)
priceId = fields.Str(required=True)
# {
# "priceId": "price_1RzLIMLjZLojw6IZ95Eijmdd",
# "customerId": "cus_StebwHVaA1nUjC",
# "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjpbNTFdLCJtZW1iZXJfaWQiOls1MV0sInVpZCI6WyI5NzVlZTQyZS0zMTY5LTQ5NzgtOTJkNy1kMjhlN2UyYWMwMTQiXX0sImV4cCI6MTc1NjE3ODYwM30.rC8KGz7M8PjgMBu-Vh9YcEWgcFp_WDqJUvTEa_OUU8Y",
# "uid": "975ee42e-3169-4978-92d7-d28e7e2ac014"
# }