Modbot Docs
APIAPI referenceSupporters

Take in a Ko-fi payment

POST/api/supporters/kofi

Ko-fi calls this when somebody pays. The message carries the verification token from Ko-fi's webhook page; one that does not match the token saved in Settings is refused (401). A monthly payment with a tier name counts; anything else is answered 200 and ignored. The same payment twice counts once. Answers 404 while Ko-fi is off or no token is saved.

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

body*unknown

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/api/supporters/kofi"
Empty

Modbot is not endorsed by or affiliated with VRChat Inc. or Discord Inc. VRChat is a trademark of VRChat Inc. Discord is a trademark of Discord Inc. SteamVR is a trademark of Valve Corporation. Windows is a trademark of Microsoft Corporation. Docker is a trademark of Docker, Inc. PostgreSQL is a trademark of the PostgreSQL Community Association of Canada. Railway is a trademark of Railway Corp. Other names are trademarks of their respective owners; see Legal. Modbot and its logo are trademarks of the Modbot project. Open source under AGPL-3.0.