Skip to main content

Outcome

A tech-platform partner can provision users, create partner-managed funds, record settled donations, submit grants after custodian settlement, and report missing organizations—all without a donor OAuth login flow.

When

Use this track instead of the standard OAuth journey when you integrate as an Endaoment tech-platform partner with API key credentials.

Auth

Most server-to-server partner endpoints require x-api-key. Acting-user context depends on the step — see Partner auth options. POST /v1/funds/partner is an exception: it also accepts a registered OAuth user Bearer token or partner OIDC bearer without x-api-key. For this partner journey, use x-api-key throughout.
HeaderWhen
x-api-keyMost partner endpoints (and this journey’s examples)
x-endaoment-user-idOptional acting-user path for fund creation and settled pledges
partnerUserIdentifier (body)Alternative acting-user path when partner inflow routes are enabled
Authorization: BearerOptional partner OIDC path for POST /v1/funds/partner
See Integration Patterns and the Partner Endpoints API reference.

Journey

StepOutcomeEndpointAPI reference
1Partner user existsPOST /v1/auth/partner/usersProvision user
2Partner fund existsPOST /v1/funds/partnerCreate fund
3Settled donation recordedPOST /v1/donation-pledges/partner/cash-settled or .../stock-settledCash · Stock
4Grant submitted after settlementPOST /v1/transfers/partner/grant-submissionsSubmit settled grant
5Missing org reportedPOST /v1/missing-org-reports/tech-platformSubmit missing org report
Retrieve a partner fund: Get fund by ID.

Step 1: Provision user

Inputs: partnerUserIdentifier (your stable partner-side user id — 16–64 printable ASCII characters), user profile fields, and required address.
Persist: response.id as the Endaoment user UUID for later x-endaoment-user-id use.

Step 2: Create partner fund

The acting user must already have saved identity from Step 1. Pick an auth path from Partner auth options. Example using API key + impersonation header:
Required: name, partnerAccountIdentifier (16–64 printable ASCII characters). See Create fund for the full schema. Persist: Fund id.

Step 3: Record settled donation

Call after the donation has already settled on your platform. Provide acting-user context via x-endaoment-user-id or body partnerUserIdentifier (when partner inflow routes are enabled).
AssetEndpoint
CashPOST /v1/donation-pledges/partner/cash-settled
StockPOST /v1/donation-pledges/partner/stock-settled

Step 4: Submit partner grant

Server-to-server grant intake after inbound custodian transfer has settled. No donor Bearer token or acting-user header required.

Step 5: Report missing org

For nonprofits not yet in Endaoment’s database: POST /v1/missing-org-reports/tech-platform API reference: Submit missing org report

Common mistakes

  • Using donor OAuth flows for partner-only operations
  • Omitting required address on user provisioning
  • Using partner identifiers shorter than 16 characters
  • Creating a partner fund before the acting user has provisioned PII
  • Assuming x-endaoment-user-id is always required on settled pledges (body partnerUserIdentifier is an alternative)
  • Submitting partner grants before custodian settlement completes
Next: Going to Production