@aigens/aigens-sdk-alipayhk
v0.5.0
Published
Aigens SDK AlipayHK
Downloads
122
Readme
aigens-sdk-alipayhk
Aigens SDK AlipayHK
Install
npm install aigens-sdk-alipayhk
npx cap sync
API
makePaymentRequest(...)
makePaymentRequest(options: { options: AlipayOptions; }) => Promise<AlipayResultOptions>
| Param | Type |
| ------------- | --------------------------------------------------------------------- |
| options
| { options: AlipayOptions; } |
Returns: Promise<AlipayResultOptions>
isAlipayhkAvailabe(...)
isAlipayhkAvailabe(options?: { key: string; } | undefined) => Promise<{ install: boolean; }>
| Param | Type |
| ------------- | ----------------------------- |
| options
| { key: string; } |
Returns: Promise<{ install: boolean; }>
Interfaces
AlipayResultOptions
| Prop | Type |
| ------------------- | -------------------- |
| result
| any |
| success
| boolean |
| userCancelled
| boolean |
| resultStatus
| string |
AlipayOptions
| Prop | Type |
| ----------------- | ------------------- |
| orderString
| string |