feat: create kyc page with api

This commit is contained in:
2026-05-12 18:08:38 +03:00
parent ed9d33e386
commit 238da1609b

View File

@@ -1,4 +1,3 @@
import { KYC_API_URL } from '@shared/config/env'
import { getCsrfToken } from '@shared/api/csrf'
import { tokenStore } from '@shared/api/tokenStore'
@@ -11,6 +10,8 @@ export interface KycResponse {
qr_code: string
}
const KYC_API_URL = 'https://app.kyc.elcsa.ru'
export async function kycCreate(): Promise<KycResponse> {
const csrf = await getCsrfToken()
const bearer = tokenStore.get()