任何人都可以向我解释Stripe中的import numpy as np
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import matplotlib.ticker as ticker
# A fake dataframe
hypothesis1_df = pd.DataFrame({
'revol_util':np.arange(20, 101, 1),
'deviation':np.arange(-40, 81, 1.5) + np.random.rand(81)*10.})
hypothesis1_df = hypothesis1_df.set_index('revol_util', drop=False)
ax = sns.barplot(x='revol_util', y='deviation', data=hypothesis1_df)
ax.set(xlabel="Revolving Credit Utilization (%)",
ylabel="Deviation from Mean (%)",
title="Credit Utilization and Likelihood of Late Payments\n(20 - 100%)")
ax.xaxis.set_major_locator(ticker.MultipleLocator(10))
ax.xaxis.set_major_formatter(ticker.FuncFormatter(
lambda x, pos: '{:g}'.format(x + hypothesis1_df['revol_util'].iloc[0])))
plt.show()
事件意味着什么。我们收到此事件给我们的webhook,我们的应用程序未配置为处理此类事件。
我搜索过Stripe文档,但无法找到此事件的明确解释。这是一个例子:
balance.available
答案 0 :(得分:2)
这是一个webhook事件列表:
https://stripe.com/docs/api/php#event_types
对于此事件: balance.available 描述了一种平衡 您的条带余额更新后会发生(例如,当可以支付费用时)。默认情况下,Stripe会每天自动将余额中的资金转入您的银行帐户。