Skip to content
On this page

user.ref.admin.stripe

Stripe connect 関連操作への参照です。

メソッド

register() admin

type
Promise<StripeRegistrationResult>

Stripe connect の登録を行います。

INFO

取得した linkUrl から Stripe の登録ページへ移動し、登録作業を行う必要があります。

使用方法

ts
  const res = await Hedgehog.user.ref("メールアドレス").admin.stripe.register();

status() admin

type
Promise<(StripeStatus|undefined)>

Stripe connect の状態を取得します。登録されていない場合は null が返ります。

使用方法

ts
const status = await Hedgehog.user
  .ref("メールアドレス")
  .admin.stripe.status();