Before using this API please create API provider
Pass the third parameter to
paywall.makeRequest()
or paywall.makeStreamRequest()
to have the possibility to abort the request:const abortSignal = useRef({}); const response = await paywall.makeRequest("https://onlineapp.pro/api/v1/api-gateway/999?paywall_id=197&test_mode=1", { // Some fetch options }, abortSignal) const abortRequest = () => { abortSignal.current?.abort(); }