@aplazame/node
v0.3.10
Published
aplazame node sdk
Downloads
20
Readme
Aplazame SDK for NodeJS
node install @aplazame/node --save
Full example in: Github
var aplazame = require('@aplazame/node')({
access_token: 'merchant_private_key',
is_sandbox: true,
})
aplazame.post('/checkout', {
merchant: {...},
order: {...},
customer: {...},
billing: {...},
shipping: {...},
}).then(function (order) {
})
Launching example
npm install
PUBLIC_KEY=2399abc3f1f5ba3ab94s9s87ts987st9s87t9s8s \
PRIVATE_KEY=dce981b80s098s098sy09s8y0s98yss9syt9s78s \
node example/server.js