Payments
Connect PayPal
Payments and payouts.
Payments
PayPal
Payments and payouts.
Not yet available in this environment — flip configured: true once you've added the provider config.
Sample request
// 1. Mint a session token for the end user
const session = await link.connect.session({
integrationKey: "paypal",
userId: "u_42",
});
// 2. After the user completes OAuth, proxy a request
const res = await link.proxy("paypal", "u_42", {
method: "GET",
endpoint: "/api/v1/me",
});