add stubs for some routes

This commit is contained in:
Luna 2021-08-29 18:08:21 -03:00
parent 9cdb79b084
commit eb88651424
2 changed files with 10 additions and 1 deletions

View File

@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
from quart import Blueprint, jsonify
from pathlib import Path
bp = Blueprint("store", __name__)

View File

@ -484,3 +484,13 @@ async def _patch_subscription(subscription_id):
@bp.route("/@me/billing/country-code", methods=["GET"])
async def _get_billing_country_code():
return {"country_code": "US"}
@bp.route("/@me/billing/stripe/setup-intents", methods=["POST"])
async def _stripe_setup_intents():
return {"client_secret": "gbawls"}
@bp.route("/@me/billing/payment-sources/validate-billing-address", methods=["POST"])
async def _validate_billing_address():
return {"token": "gbawls"}