conekta-plugin-capacitor
v0.0.3
Published
plugin conekta for connect payment
Downloads
1
Maintainers
Readme
conekta-plugin-capacitor
plugin conekta for connect payment
Install
npm install conekta-plugin-capacitor
npx cap sync
API
setPublicKey(...)
getPublicKey()
setLanguage(...)
getLanguage()
createToken(...)
setApiVersion(...)
getApiVersion()
deviceFingerPrint()
getBaseUri()
setPublicKey(...)
setPublicKey(params: { key: string; }) => Promise<void>
| Param | Type |
| ------------ | ----------------------------- |
| params
| { key: string; } |
getPublicKey()
getPublicKey() => Promise<{ key: string; }>
Returns: Promise<{ key: string; }>
setLanguage(...)
setLanguage(params: { language: string; }) => Promise<void>
| Param | Type |
| ------------ | ---------------------------------- |
| params
| { language: string; } |
getLanguage()
getLanguage() => Promise<{ language: string; }>
Returns: Promise<{ language: string; }>
createToken(...)
createToken(card: { number: string; name: string; cvc: string; exp_month: string; exp_year: string; }) => Promise<any>
| Param | Type |
| ---------- | ------------------------------------------------------------------------------------------------ |
| card
| { number: string; name: string; cvc: string; exp_month: string; exp_year: string; } |
Returns: Promise<any>
setApiVersion(...)
setApiVersion(params: { api_version: string; }) => Promise<void>
| Param | Type |
| ------------ | ------------------------------------- |
| params
| { api_version: string; } |
getApiVersion()
getApiVersion() => Promise<{ api_version: string; }>
Returns: Promise<{ api_version: string; }>
deviceFingerPrint()
deviceFingerPrint() => Promise<{ fingerprint: string; }>
Returns: Promise<{ fingerprint: string; }>
getBaseUri()
getBaseUri() => Promise<{ uri: string; }>
Returns: Promise<{ uri: string; }>