๐ API Endpoints
๐ Webhook Management
Webhook handling and integration endpoints. 3 endpoints available.
๐ฏ Quick Stats
- Total Endpoints: 3
- Base URL:
https://api.market.decenctype.com - Authentication: Bearer Token / API Key
๐ Methods
- ๐ POST: 1 endpoints
- ๐ GET: 2 endpoints
๐ Authentication
All endpoints in this section use the same authentication methods. Choose one:
๐ Bearer Token (Recommended)
For user session authentication
Add to request headers:
Authorization: Bearer YOUR_TOKEN๐ง API Key
For server-side authentication
Add to request headers:
X-API-KEY: YOUR_API_KEYโ ๏ธ Important: Do not use both authentication methods simultaneously in the same request.
๐ Endpoints Overview
| Method | Endpoint | Description |
|---|---|---|
๐ POST | /webhook/{issuer} | ๆฅๆถ็นๅฎๅ่กๅ็ Webhook |
๐ GET | /webhook/supported-issuers | ่ทๅๆฏๆ็ๅ่กๅๅ่กจ |
๐ GET | /webhook/health | ๅฅๅบทๆฃๆฅ็ซฏ็น |
๐ Detailed Documentation
ๆฅๆถ็นๅฎๅ่กๅ็ Webhook
POST
/webhook/{issuer}Full URL
https://api.market.decenctype.com/webhook/{issuer}๐ฏ Path Parameters
issuer(string) - โ Required: No description
Description: ๆฅๆถ็นๅฎๅ่กๅ็ Webhook
Operation ID: receiveWebhook
Response Status:
- โ 201: Success
๐ Example Request
curl -X POST "https://api.market.decenctype.com/webhook/example-issuer" \\
-H "Authorization: Bearer YOUR_TOKEN" \\
-H "Content-Type: application/json"่ทๅๆฏๆ็ๅ่กๅๅ่กจ
GET
/webhook/supported-issuersFull URL
https://api.market.decenctype.com/webhook/supported-issuers๐ Authentication: Required (see authentication section above)
Description: ่ทๅๆฏๆ็ๅ่กๅๅ่กจ
Operation ID: getSupportedIssuers
Response Status:
- โ 200: Success
๐ Example Request
curl -X GET "https://api.market.decenctype.com/webhook/supported-issuers" \\
-H "Authorization: Bearer YOUR_TOKEN" \\
-H "Content-Type: application/json"ๅฅๅบทๆฃๆฅ็ซฏ็น
GET
/webhook/healthFull URL
https://api.market.decenctype.com/webhook/health๐ Authentication: Required (see authentication section above)
Description: ๅฅๅบทๆฃๆฅ็ซฏ็น
Operation ID: healthCheck
Response Status:
- โ 200: Success
๐ Example Request
curl -X GET "https://api.market.decenctype.com/webhook/health" \\
-H "Authorization: Bearer YOUR_TOKEN" \\
-H "Content-Type: application/json"