@exp-plus/alipay-sdk
蚂蚁金服开放平台 node sdk
Last updated 6 months ago by kayorl .
ISC · Bugs · Original npm · Tarball · package.json
$ cnpm install @exp-plus/alipay-sdk 
SYNC missed versions from official npm registry.

Alipay SDK

蚂蚁金服开放平台 SDK

NPM version build status Test coverage

安装

npm install alipay-sdk

使用

// TypeScript
import AlipaySdk from 'alipay-sdk';

const alipaySdk = new AlipaySdk({
  // 参考下方 SDK 配置
  appId: '2016123456789012',
  privateKey: fs.readFileSync('./private-key.pem', 'ascii'),
});

const result = await alipaySdk.exec('alipay.system.oauth.token', {
	grantType: 'authorization_code',
	code: 'code',
	refreshToken: 'token'
});

Demo:

Current Tags

  • 3.0.14                                ...           latest (6 months ago)

6 Versions

  • 3.0.14                                ...           6 months ago
  • 3.0.12                                ...           7 months ago
  • 3.0.11                                ...           7 months ago
  • 3.0.10                                ...           7 months ago
  • 3.0.9                                ...           7 months ago
  • 3.0.8                                ...           7 months ago
Maintainers (1)
Downloads
Today 1
This Week 11
This Month 104
Last Day 0
Last Week 9
Last Month 123
Dependencies (12)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |