0.5.0 • Published 12 months ago
@aigens/aigens-sdk-wechathk v0.5.0
aigens-sdk-wechathk
Aigens SDK WechatHK
Install
npm install aigens-sdk-wechathk
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options | { value: string; } |
Returns: Promise<{ value: string; }>
makePaymentRequest(...)
makePaymentRequest(options: { options: MPayWeChatParams; }) => Promise<any>
Param | Type |
---|---|
options | { options: MPayWeChatParams; } |
Returns: Promise<any>
Interfaces
MPayWeChatParams
Prop | Type |
---|---|
merchantId | string |
merchantTId | string |
orderNum | string |
amt | string |
currency | string |
locale | string |
storeId | string |
dataHash | string |
domainUrl | string |
isPrd | boolean |
universalLink | string |
paymethod | string |
datetime | string |
salt | string |
notifyUrl | string |
returnUrl | string |
version | string |
appScheme | string |
customizedData | string |
fullUrl | string |