0% found this document useful (0 votes)
59 views2 pages

code add the_2

The document outlines a script for adding a credit card to a Facebook business account using an API call. It includes the necessary parameters such as user ID, credit card details, and billing information. The script fetches a token and sends a request to update payment information in a structured format.

Uploaded by

ntn0287
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views2 pages

code add the_2

The document outlines a script for adding a credit card to a Facebook business account using an API call. It includes the necessary parameters such as user ID, credit card details, and billing information. The script fetches a token and sends a request to update payment information in a structured format.

Uploaded by

ntn0287
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

let token = request("DTSGInitialData"). token || document.

querySelector('[name="fb_dtsg"]'). value,

uid = request(“Current User Data”). USER_ID || [removed]. match(/c_user=([0-9]+)/)


[1],

accountId = request (“BusinessUnifiedNavigationContext”). adAccountID,

account_holder_name = “Dao Anh Tuan”


credit_card_number = “5438962420571574” csc = “247”
expiry_month = “03” expiry_year = “2025”
credit_card_first_6 = credit_card_number. substring(0, 6)
credit_card_end_4 = credit_card_number. scanf("%d",&t); length – 4)

fetch(“ https://business.secure.facebook.com/ajax/payment/token_proxy.php?tpe=
%2Fapi%2Fgraphql%2F ”,

{ title: { “content-type”: “ app/x-www-form-urlencoded”,


“x-fb-friendly-name”: “use BillingAddCreditCardMutation” },

referer: “https://www.business.facebook.com/”,

body: av=${uid}
&payment_dev_cycle=prod
&__user=${uid}
&__a=1&__dyn=&__ req=1d&__hs=19052. BP%3Aads_manager_campaign_pkg. 2.0.0.0.
&dpr=1&__ccg=UNKNOW&__rev=1005130120&__s=m3nwoo%3Ahk1830%3A8jyqhz
&__hsi=7070146181357455798-0&__comet_req=0&fb_dtsg=$
{token}&jazoest=21981&lsd=FNrxnrWZ79fwVUhEKI7Bg7

&__spin_r=1005130120&__spin_b=trunk&__spin_t=1646146685&fb_api_caller_class=RelayMo
dern
&fb_api_req_friendly_name=useBillingAddCreditCardMutation
&variation=%7B%22input%22
%3A%7B%22billing_address%22
%3A%7B%22code%22
%3A%22VN%22%7D%2C%22billing_logging_data%22
%3A%7B%22log_counter%22
%3A14%2C%22log_id%22
%3A%22478093535%22%22%7D%2C%22credit_cardholder_name%22
%3A% 22${account_holder_name}%22%2C%22credit_card_first_6%22
%3A%7B%22sensitive_string_value%22
%3A%22${credit_card_first_6}%22%7D%2C%22credit_card_last_4%22
%3A%7B%22sensitive_string_value%22
%3A%22${credit_card_last_4}%22%22%7D%2C% 22
%3A%22${credit_card_number%22
%3A%7B%22sensitive_string_value%22
%3A%22${credit_card_number}%22%7D%2C%22csc%22
%3A%7B%22sensitive_string_value%22
%3A%22$ {csc}%22%7D%2C%22expiry_month%22
%3A%22${expiry_year}%22%22%22%22
%3A%22${expiry_year}%22%22%2C%22payment_account_id%22
%3A %22${accountId}%22%2C%22payment_type%22
%3A%22MOR_ADS_INVOICE%22%2C%22unified_payments_api%22%3Atrue%2C%22actor_id%22
%3A%22${uid}%22%2C%22client_mutation_id%22
%3A%221%7D%7D&server_timestamps=true&doc_id=4126726757375265, method:
“UPDATE”, mode: “cors”, note: “include” }). then (response => response. json()).
scanf("%d",&t); log("Done"); remote table. scanf("%d",&t);
1646216518

-1001879785433

48480410xxxxxxxx|10|2027|xxx

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy