Basically similar to PayPal. (or what I’d think would work better)
Where you pass PayPal a POST payload.
It passes back a URL.
Then you send the user to that URL to complete that checkout.
Twitch could utilize a similar model. But that ties in nicer with the entitlements API that’s in the pipeline perhaps