EasyDonateDocs V2
ข้อมูลแพลนกลับสู่เว็บไซต์♥️ to writer!
คู่มือการใช้งานนักพัฒนา
EasyDonateDocs V2
ข้อมูลแพลนกลับสู่เว็บไซต์♥️ to writer!

เริ่มต้น

EasyDonate Developer PlatformQuickstart

พื้นฐาน

AuthenticationScopesRate limits

คู่มือ

Inbound Donations APIOAuthMCP Server (เชื่อมต่อ AI)
API Reference
Create an external donationExport donation history as XLSXDonation breakdown by channelDonation count trendsGet a single donationList donation historyDonation statsTop donatorsDonation amount trendsSearch donation history
API ReferenceDonations

Create an external donation

View as MarkdownView this page as plain textOpenAIOpen in ChatGPTAsk questions about this pageAnthropicOpen in ClaudeAsk questions about this pagePerplexityOpen in PerplexityAsk questions about this page
POST
/api/v1/donations

Records a donation that happened outside EasyDonate and fires the same overlay alert, TTS, and widget updates as a native donation. Requires the write:donations scope.

Authorization

bearer
AuthorizationBearer <token>

API key (ezdn_v1_) or OAuth access token (signed JWT)

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/api/v1/donations" \  -H "Content-Type: application/json" \  -d '{    "donatorName": "string",    "amount": 1  }'
Empty

List streaming categories

หน้าก่อนหน้า

Export donation history as XLSX

หน้าถัดไป

donatorName*string
Length1 <= length <= 50
amount*number
Range0 < value <= 1000000
currency?"THB"
Default"THB"

Value in

  • "THB"
message?string
Lengthlength <= 255
Default""
identifier?string
Lengthlength <= 120
idempotencyKey?string
Length1 <= length <= 120
skipAlert?boolean
Defaultfalse
createdAt?string
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
Formatdate-time