Skip to main content
POST
/
api
/
partner
/
webhooks
/
inbound
接收合作方推过来的事件(合作方 → Barker)
curl --request POST \
  --url https://api.barker.money/api/partner/webhooks/inbound \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Barker-Event: <x-barker-event>' \
  --header 'X-Barker-Signature: <x-barker-signature>' \
  --data '
{
  "event_type": "partner.user.created",
  "occurred_at": "2023-11-07T05:31:56Z",
  "data": {}
}
'
{
  "success": true,
  "event_id": 123,
  "duplicate": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.barker.money/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-Api-Key
string
header
required

Headers

X-Barker-Event
string
required
Example:

"partner.user.created"

X-Barker-Signature
string
required

hex(hmac_sha256(secret, raw_body))

Idempotency-Key
string
required
Example:

"evt_2026_05_03_xxxxx"

Body

application/json
event_type
enum<string>
required
Available options:
partner.user.created,
partner.user.kyc_updated,
partner.reconciliation.confirmed
occurred_at
string<date-time>
required
data
object
required

Response

已接收(含重复请求)

success
boolean
event_id
integer
duplicate
boolean