Create stock donation pledge
Creates a liquidated stock donation pledge for a donation that has already settled at a tech-platform partner.
Authentication is required:
- A valid tech-platform API key
- The acting Endaoment user, provided either via the
x-endaoment-user-idheader or, when partner inflow routes are enabled, via a bodypartnerUserIdentifieron an API-key-only request (no impersonation header). Body resolution additionally requires the partner to havecanManageUsers.
This endpoint allows permissioned partners to:
- Record an already-settled stock donation against a receiving fund
- Provide the settled stock metadata and partner operation reference
- Create the resulting placeholder Donation in the same transaction
Authorizations
Headers
UUID of the Endaoment user for this partner-settled operation. Optional when a body partnerUserIdentifier is supplied on an API-key-only request.
Partner API key used for authentication
Body
Settled stock pledge details reported by the partner
Unique identifier of the receiving fund
"123e4567-e89b-12d3-a456-426614174000"
Client-generated key to ensure idempotency of the request
"123e4567-e89b-12d3-a456-426614174000"
Settled donation value in microdollars
"50000000000"
Partner-owned reference for this operation
36"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Opaque partner-generated identifier for the acting user. Used only to resolve or corroborate the user; it is not stored on the pledge or returned in the response.
16 - 64^[\x20-\x7E]{16,64}$"c3f8b2e4-9d1a-4f6b-8e2c-7a5d90c41b3f"
Response
Partner-settled stock donation pledge successfully created
Unique identifier of the created donation pledge
"123e4567-e89b-12d3-a456-426614174000"