Resources
Member-context resources live under
/users/me/*: the subject is resolved from your OAuth access token’s sub claim, so no UUID appears in the path. Routes: /users/me, /users/me/status, /users/me/wallets, /users/me/tags, /users/me/check_ins, /users/me/memberships. Decode the sub claim yourself only if you need the member’s UUID for your own state.
Tasting note - The published
@flynetdev/core
SDK exposes these resources as typed methods: FlynetDiscoveryClient for
restaurants and locations, FlynetMemberClient for the /users/me/*
routes, check-ins, memberships, and Payment Intents.Relationships
A typical member has two wallets (oneMEMBERSHIP, one SPENDING), zero or more tags, zero or more check-ins, a status record, zero or more memberships, and account balances that fund Payment Intents.
Restaurant assets
Restaurants include anasset object with image variants:
asset object may be null. Individual variants may
also be null.
Wallets
Wallets are created automatically on the member’s first OAuth completion. A member usually has:MEMBERSHIP- member status assetsSPENDING- FLY available for transactions
Tags
Tags attach structured metadata to a member. The current public tag type is lowercaseindustry.
Member status
/users/me/status returns the authenticated member’s standing.
If no active status exists for the member, the route returns
404 with a resource_not_found body rather than an empty
object: branch on the status code, not on an empty payload.
Memberships
/users/me/memberships returns the authenticated member’s membership
records; each links the member to a restaurant. The collection is
paginated like every other list route. It accepts a restaurant
filter; an unrecognized filter param (such as restaurant_id) is
silently ignored and returns the unfiltered set.
Reservations
Locations carry reservation-related fields describing whether and how a venue takes bookings. These surface as fields on the Location object returned by/locations*; see the
API reference for the per-field
shapes. There is no standalone reservation resource at launch.
Money
Payment amounts use{ value, currency }, where value is a
stringified integer in FLY wei. See Money + tokens.