Skip to main content
The same flow as the PHP quickstart, in Python 3.9+ with requests and Flask: create a checkout, verify the webhook, confirm the payment, refund.

Create a checkout

Receive the webhook

Verify, then fulfil once

Refund

See Verifying a payment, Refunds and Errors for the details behind each step.