v1

latestOpenAPI 3.0.02026-07-26318168886.7 KB
Webhooks

Get Webhook

To retrieve a specific subscribed webhook by id<br>以id獲取一個已訂閱的webhook

get/webhooks/{id}

Path parameters

idstring required

Webhook ID

Response

OK

idstring

Webhook ID

format'json'

Webhook format<br>Webhook格式<br>---<br>Currently support "json" only<br>現只支援"json"

addressstring

URL to receive the webhook<br>接收Webhook的URL

status'active' | 'removed'

Webhook status<br>Webhook狀態

merchant_idstring

Merchant ID<br>商户ID

created_atstring

Webhook created time<br>Webhook創建日期

updated_atstring

Webhook updated time<br>Webhook更新時間

webhook_versionstring

Webhook version<br>Webhook版本

topicsstring[]

Example response

{
  "id": "5f8e5dc08a8bb70a5c9cd93c",
  "format": "json",
  "address": "http://abc.com/webhooks",
  "status": "active",
  "merchant_id": "5e840cae77cb07003243f7c7",
  "created_at": "2020-10-20T03:50:00.323Z",
  "updated_at": "2020-10-20T03:50:00.323Z",
  "webhook_version": "v0",
  "topics": [
    "order/create"
  ]
}