# aigens-sdk-wechathk

Aigens SDK WechatHK

## Install

```bash
npm install aigens-sdk-wechathk
npx cap sync
```

## API

<docgen-index>

* [`echo(...)`](#echo)
* [`makePaymentRequest(...)`](#makepaymentrequest)
* [Interfaces](#interfaces)

</docgen-index>

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

### echo(...)

```typescript
echo(options: { value: string; }) => Promise<{ value: string; }>
```

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

**Returns:** <code>Promise&lt;{ value: string; }&gt;</code>

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


### makePaymentRequest(...)

```typescript
makePaymentRequest(options: { options: MPayWeChatParams; }) => Promise<any>
```

| Param         | Type                                                                        |
| ------------- | --------------------------------------------------------------------------- |
| **`options`** | <code>{ options: <a href="#mpaywechatparams">MPayWeChatParams</a>; }</code> |

**Returns:** <code>Promise&lt;any&gt;</code>

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


### Interfaces


#### MPayWeChatParams

| Prop                 | Type                 |
| -------------------- | -------------------- |
| **`merchantId`**     | <code>string</code>  |
| **`merchantTId`**    | <code>string</code>  |
| **`orderNum`**       | <code>string</code>  |
| **`amt`**            | <code>string</code>  |
| **`currency`**       | <code>string</code>  |
| **`locale`**         | <code>string</code>  |
| **`storeId`**        | <code>string</code>  |
| **`dataHash`**       | <code>string</code>  |
| **`domainUrl`**      | <code>string</code>  |
| **`isPrd`**          | <code>boolean</code> |
| **`universalLink`**  | <code>string</code>  |
| **`paymethod`**      | <code>string</code>  |
| **`datetime`**       | <code>string</code>  |
| **`salt`**           | <code>string</code>  |
| **`notifyUrl`**      | <code>string</code>  |
| **`returnUrl`**      | <code>string</code>  |
| **`version`**        | <code>string</code>  |
| **`appScheme`**      | <code>string</code>  |
| **`customizedData`** | <code>string</code>  |
| **`fullUrl`**        | <code>string</code>  |

</docgen-api>
