Surfshark whoami (signed-in account)
Report which Surfshark account this browser is signed in as: the account email. Being signed out is reported as a normal answer (loggedIn false), not an error, so it can be used to check a session before running other Surfshark scripts.
Input
None
Output
evidence requiredloggedIn requiredemail optionalFAQ
List Surfshark invoices/receipts
List Surfshark payment receipts from your account's subscription payments page. Returns total and invoices (id, purchase, date, amount, status) — metadata only. Feed a row's id to surfshark.com/download_invoice to get that receipt's PDF. Works regardless of the account's display language.
Surfshark login (Google SSO)
Log into Surfshark (my.surfshark.com) via Google SSO: dismisses the cookie banner, drives the OAuth redirect (account chooser + consent confirm) and lands on the account dashboard.
Download Surfshark receipt
Download a single Surfshark payment receipt PDF by order id (from surfshark.com/list_invoices). Returns the PDF bytes as base64 plus a filename.
