DRF_Template/backend/payments/serializers.py

7 lines
180 B
Python
Raw Permalink Normal View History

from rest_framework import serializers
class CheckoutSerializer(serializers.Serializer):
subscription_id = serializers.IntegerField()
annual = serializers.BooleanField()