Skip to main content
Requires partner scope A config defines charity beneficiaries and how donations are split between them. When a donation is made on-chain, the config ID determines where funds go. Each charity in a config has a weight. Weights are relative: a charity with weight 2 receives twice as much as one with weight 1. Config IDs are returned as { "hex": string, "base58": string }. hex is the on-chain bytes32. base58 is the same value encoded for Solana. To inspect or delete a config by ID, see Core API: Donation Configs. For aggregate stats and donor rankings on configs you own, see Config Stats and Config Leaderboard.

Create a config

POST /configs Creates a new config with charity beneficiaries. At least one beneficiary is required, and at most 5 beneficiaries are allowed. Re-posting an identical set of beneficiaries for the same project is idempotent: the API returns the existing config with status 201.
Request body Response 201
Weights in responses are strings to preserve full precision for values beyond Number.MAX_SAFE_INTEGER. Charity objects match the Charities shape, plus weight.
Error responses

List configs

GET /configs Returns a paginated list of all configs created by your developer project.
Query parameters Response