Python
Flask

Flask

Learn how to cash your first crypto payment using Flask and the vxpay Python SDK.

Prerequisites

1. Install

Get the vxpay Python SDK.

pip install vxpay

2. Accept onchain payment

index.py
import os
import vxpay
 
vxpay.api_key = os.environ["YOUR_API_KEY"]
 
...

3. Try it yourself