# @pixelpay/capacitor-plugin

Native bridge with Capacitor plugin and PixelPaySDK

## Install

```bash
npm install @pixelpay/capacitor-plugin
npx cap sync
```

## API

<docgen-index>

* [`transactionDoSale(...)`](#transactiondosale)
* [`transactionDoAuth(...)`](#transactiondoauth)
* [`transactionDoCapture(...)`](#transactiondocapture)
* [`transactionDoVoid(...)`](#transactiondovoid)
* [`transactionGetStatus(...)`](#transactiongetstatus)
* [`tokenizationVaultCard(...)`](#tokenizationvaultcard)
* [`tokenizationUpdateCard(...)`](#tokenizationupdatecard)
* [`tokenizationShowCard(...)`](#tokenizationshowcard)
* [`tokenizationShowCards(...)`](#tokenizationshowcards)
* [`tokenizationDeleteCard(...)`](#tokenizationdeletecard)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### transactionDoSale(...)

```typescript
transactionDoSale(options: { settings: string; request: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                                |
| ------------- | --------------------------------------------------- |
| **`options`** | <code>{ settings: string; request: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### transactionDoAuth(...)

```typescript
transactionDoAuth(options: { settings: string; request: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                                |
| ------------- | --------------------------------------------------- |
| **`options`** | <code>{ settings: string; request: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### transactionDoCapture(...)

```typescript
transactionDoCapture(options: { settings: string; request: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                                |
| ------------- | --------------------------------------------------- |
| **`options`** | <code>{ settings: string; request: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### transactionDoVoid(...)

```typescript
transactionDoVoid(options: { settings: string; request: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                                |
| ------------- | --------------------------------------------------- |
| **`options`** | <code>{ settings: string; request: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### transactionGetStatus(...)

```typescript
transactionGetStatus(options: { settings: string; request: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                                |
| ------------- | --------------------------------------------------- |
| **`options`** | <code>{ settings: string; request: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### tokenizationVaultCard(...)

```typescript
tokenizationVaultCard(options: { settings: string; request: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                                |
| ------------- | --------------------------------------------------- |
| **`options`** | <code>{ settings: string; request: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### tokenizationUpdateCard(...)

```typescript
tokenizationUpdateCard(options: { settings: string; token: string; request: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                                               |
| ------------- | ------------------------------------------------------------------ |
| **`options`** | <code>{ settings: string; token: string; request: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### tokenizationShowCard(...)

```typescript
tokenizationShowCard(options: { settings: string; token: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                              |
| ------------- | ------------------------------------------------- |
| **`options`** | <code>{ settings: string; token: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### tokenizationShowCards(...)

```typescript
tokenizationShowCards(options: { settings: string; tokens: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                               |
| ------------- | -------------------------------------------------- |
| **`options`** | <code>{ settings: string; tokens: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------


### tokenizationDeleteCard(...)

```typescript
tokenizationDeleteCard(options: { settings: string; token: string; }) => Promise<{ status: number; response: string; }>
```

| Param         | Type                                              |
| ------------- | ------------------------------------------------- |
| **`options`** | <code>{ settings: string; token: string; }</code> |

**Returns:** <code>Promise&lt;{ status: number; response: string; }&gt;</code>

--------------------

</docgen-api>
