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

เริ่มต้น

EasyDonate Developer PlatformQuickstart

พื้นฐาน

AuthenticationScopesRate limits

คู่มือ

Inbound Donations APIOAuthMCP Server (เชื่อมต่อ AI)
API Reference
Record user consent and mint an authorization codeValidate an authorization request and return consent screen infoRevoke a tokenExchange authorization code or refresh token for tokens
API ReferenceOAuth

Exchange authorization code or refresh token for tokens

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
/oauth/token

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/oauth/token" \  -H "Content-Type: application/json" \  -d '{    "grant_type": "authorization_code",    "client_id": "string",    "client_secret": "string"  }'
Empty

Revoke a token

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

grant_type*string

Value in

  • "authorization_code"
  • "refresh_token"
client_id*string
Length1 <= length
client_secret*string
Length1 <= length
code?string
Length1 <= length
redirect_uri?string
Formaturi
code_verifier?string
Length43 <= length <= 128
refresh_token?string
Length1 <= length