Last active
September 10, 2025 23:52
-
-
Save aabccd021/276d5cfa7021c1c364b419880e2d22ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const headers = new Headers({ | |
| Authorization: `Bearer ${process.env.PADDLE_SANDBOX_APIKEY}`, | |
| }); | |
| // const response = await fetch("https://sandbox-api.paddle.com/customers", { | |
| // method: "post", | |
| // headers, | |
| // body: JSON.stringify({ | |
| // email: "[email protected]" | |
| // }), | |
| // }); | |
| const response = await fetch("https://sandbox-api.paddle.com/customers/ctm_01k4v0kd882v33tkqxb5q44yk3", { | |
| headers, | |
| }) | |
| console.log(await response.text()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment