Investments
Privy access token
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Success
Bad request
Unauthorized
Server error
POST /functions/v1/create-investment HTTP/1.1
Host: your-project-ref.supabase.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Privy access token
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Success
Bad request
Unauthorized
Server error
POST /functions/v1/pay-investment HTTP/1.1
Host: your-project-ref.supabase.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Privy access token
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Success
Bad request
Unauthorized
Server error
POST /functions/v1/process-crypto-payment HTTP/1.1
Host: your-project-ref.supabase.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Privy access token
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Success
Bad request
Unauthorized
Server error
POST /functions/v1/process-metamask-payment HTTP/1.1
Host: your-project-ref.supabase.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Privy access token
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Success
Bad request
Unauthorized
Payment required (insufficient sponsorship credits)
Server error
POST /functions/v1/sponsored-transaction HTTP/1.1
Host: your-project-ref.supabase.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Privy access token
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Success
Bad request
Unauthorized
Server error
POST /functions/v1/get-user-investments HTTP/1.1
Host: your-project-ref.supabase.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Success
Bad request
Unauthorized
Server error
POST /functions/v1/create-commitment HTTP/1.1
Host: your-project-ref.supabase.co
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Privy access token
See Edge Function source for exact request shape (e.g. interface XxxRequest in index.ts)
Success
Bad request
Unauthorized
Server error
POST /functions/v1/sync-tenant-investment HTTP/1.1
Host: your-project-ref.supabase.co
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{}Last updated