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. See Integration Patterns and the Partner Endpoints API reference.

Journey

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).

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.
After the grant is submitted, read where the grant’s money is with Grant Progress.

Step 5: Report missing org

When a donor wants a nonprofit that search does not show, report it with your API key: POST /v1/missing-org-reports/partner
  • 201 returns a report id. Store it. A second report for the same EIN is a separate report.
  • 409 means the nonprofit is already on Endaoment. Use existingOrgId from the response instead of waiting.
Search decides whether a donor can grant to an org. Other lookups, such as Get organization by EIN, can return an org that search hides, and a hidden org cannot receive grants. When search shows nothing, send the report and let the response decide.
Then read the outcome with the report id. This call needs no API key: GET /v1/missing-org-reports/{id} status is submitted while Endaoment reviews it. approved comes with resolvedOrgId, the nonprofit to grant to. rejected comes with rejectionReason, which you can show the donor. API reference: Submit missing org report, Get missing org report status

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)
  • Correcting a settled donation by re-sending it with the same idempotencyKey and a fixed amount (settled pledges cannot be amended, see Conflicts on write routes)
  • Submitting partner grants before custodian settlement completes
Next: Grant Progress