我有一个网络应用程序正在通过oauth收听他们所连接的帐户的webhook,并且出于某种原因,每个进入的webhook都没有user_id
属性。
{
id: 'evt_18USWeLQuocIBkVl4x3RYTYn',
object: 'event',
api_version: '2016-06-15',
created: 1467859564,
data:
{ object:
{ id: 'ch_18USWdLQuocIBkVlfev2xN9n',
object: 'charge',
amount: 300,
amount_refunded: 0,
application_fee: null,
balance_transaction: 'txn_18USWeLQuocIBkVlYKlhfYl7',
captured: true,
created: 1467859563,
currency: 'usd',
customer: null,
description: '',
destination: null,
dispute: null,
failure_code: null,
failure_message: null,
fraud_details: {},
invoice: null,
livemode: false,
metadata: {},
order: null,
paid: true,
receipt_email: null,
receipt_number: null,
refunded: false,
refunds: [Object],
shipping: null,
source: [Object],
source_transfer: null,
statement_descriptor: null,
status: 'succeeded' } },
livemode: false,
pending_webhooks: 2,
request: 'req_8m0X3GgVB7IWpM',
type: 'charge.succeeded'
}