Cookbook
Cookbook
Complete, working flows — each one end to end, with the failure cases that actually occur.
Recipes rather than reference. Each is a whole flow, including the parts that go wrong.
Accept a payment link
Issue a request, let any wallet pay it, close the loop with a receipt.
Open →Pay across members
Reach someone at another institution, from a phone number.
Open →Verify a receipt
Check someone else's proof of settlement, including offline.
Open →A QR code at the counter
Static and dynamic codes, and reading them safely.
Open →Contact lookup, responsibly
Reachability without sending an address book anywhere.
Open →Assumed setup
import { PathClient } from '@pathprotocol/sdk';
export const path = new PathClient({
baseUrl: process.env.PATH_API_URL!,
apiVersion: '2026-09-09.genesis',
credential: {
kid: process.env.PATH_MEMBER_KID!,
privateKeyHex: process.env.PATH_MEMBER_KEY!,
memberSlug: process.env.PATH_MEMBER_SLUG!,
},
});Server-side. A credential inside a browser or a mobile app is public the moment someone opens the sources.
Recipes that need no credential say so — several of them do, which is the point of the open ring.