🏪 GPay BR ID & Cookie Extractor Fully Automatic

Step 1: Get BR ID from g4b → Step 2: Get Cookies from Transactions
1
Open pay.google.com/g4b
Auto-extract BR ID
2
Go to Transactions
Auto-navigate with BR ID
3
Extract Cookies
Get all cookie values

🏷️ BR ID / Merchant ID

---

🔑 TOKEN (at parameter)

---

🍪 COOKIES (All)

⏳ Ready - Click "START FULL AUTO EXTRACTION" below
[System] BR & Cookie Extractor Ready
[System] Click "START FULL AUTO EXTRACTION"

📖 How it works (Fully Automatic):

  1. Step 1: Opens https://pay.google.com/g4b and extracts BR ID automatically
  2. Step 2: Takes that BR ID and goes to https://pay.google.com/g4b/transactions/{BR_ID}
  3. Step 3: Extracts all cookies, token (at parameter), and merchant data
  4. Complete: All data saved automatically

🎯 Manual Method (if auto fails - Run in Console):

// STEP 1: Get BR ID from g4b
fetch('https://pay.google.com/g4b')
    .then(res => {
        let brMatch = res.url.match(/BR[A-Z0-9]{10,30}/);
        console.log('BR ID:', brMatch ? brMatch[0] : 'Not found');
        return res.text();
    })
    .then(html => {
        let brMatch = html.match(/BR[A-Z0-9]{10,30}/);
        console.log('BR ID from HTML:', brMatch ? brMatch[0] : 'Not found');
    });

// STEP 2: Get cookies from transactions (replace BR_ID)
// Replace BR_ID with actual ID from step 1
fetch('https://pay.google.com/g4b/transactions/BR_ID', {
    credentials: 'include'
})
.then(res => {
    console.log('Cookies:', document.cookie);
    return res.text();
})
.then(html => {
    let tokenMatch = html.match(/AKirTux[A-Za-z0-9_:.-]{20,150}/);
    console.log('Token:', tokenMatch ? tokenMatch[0] : 'Not found');
});