16 lines
689 B
Python
16 lines
689 B
Python
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)
|
|
option_name = fields.Str(required=True)
|
|
|
|
# {
|
|
# "priceId": "price_1RzLIMLjZLojw6IZ95Eijmdd",
|
|
# "customerId": "cus_StebwHVaA1nUjC",
|
|
# "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjpbNTFdLCJtZW1iZXJfaWQiOls1MV0sInVpZCI6WyI5NzVlZTQyZS0zMTY5LTQ5NzgtOTJkNy1kMjhlN2UyYWMwMTQiXX0sImV4cCI6MTc1NjE3ODYwM30.rC8KGz7M8PjgMBu-Vh9YcEWgcFp_WDqJUvTEa_OUU8Y",
|
|
# "uid": "975ee42e-3169-4978-92d7-d28e7e2ac014"
|
|
# }
|