LoginSignup
0
0

More than 1 year has passed since last update.

#Stripe API で web hook request の送信先エンドポイントURLを コンソール から curl で設定・変更する例

Last updated at Posted at 2020-03-29
  • we_xxxxx は Stripe の Web Hook Request の id
  • sk_yyyyy は Stripe API 用 の SECRET ( Web hook request の Secret ではない )
curl https://api.stripe.com/v1/webhook_endpoints/we_xxxxx -u sk_yyyyy: -d url="https://example.com"

{
  "id": "we_xxxxx",
  "object": "webhook_endpoint",
  "api_version": "2019-08-14",
  "application": null,
  "created": 1577258466,
  "enabled_events": [
    "checkout.session.completed"
  ],
  "livemode": false,
  "metadata": {
  },
  "status": "enabled",
  "url": "https://example.com"
}

Original by Github issue

チャットメンバー募集

何か質問、悩み事、相談などあればLINEオープンチャットもご利用ください。

Twitter

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0