내용으로 건너뛰기

시작하기

GitHub

설치

설치
터미널 창
bun add @capgo/capacitor-stripe-identity
bunx cap sync

수입

수입
import { StripeIdentity } from '@capgo/capacitor-stripe-identity';

인증 흐름

인증 흐름

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

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.