내용으로 건너뛰기

시작하기

GitHub

설치

설치
터미널 창
bun add @capgo/capacitor-stripe-identity
bunx cap sync
import { StripeIdentity } from '@capgo/capacitor-stripe-identity';

백엔드에서 VerificationSession을 생성하고 ID를 플러그인에 전달하세요:

await StripeIdentity.initialize({ publishableKey: 'pk_test_...' });
await StripeIdentity.create({
verificationId: 'vs_...',
ephemeralKeySecret: 'ek_...',
clientSecret: 'vs_..._secret_...', // web only
});
await StripeIdentity.present();
터미널 창
git clone https://github.com/Cap-go/capacitor-stripe-identity.git
cd capacitor-stripe-identity/example-app
bun install
bun run start

이 페이지는 현재 공개 중인 API의 문서입니다. Cap-go/capacitor-stripe-identity.