https://github.com/maxgfr/api-money-node-sdk
Un-official node sdk for api-money.com
https://github.com/maxgfr/api-money-node-sdk
api-money api-money-node-sdk js library nodejs
Last synced: 5 months ago
JSON representation
Un-official node sdk for api-money.com
- Host: GitHub
- URL: https://github.com/maxgfr/api-money-node-sdk
- Owner: maxgfr
- Created: 2020-07-02T17:44:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-11-30T01:58:28.000Z (7 months ago)
- Last Synced: 2025-12-02T06:42:41.266Z (7 months ago)
- Topics: api-money, api-money-node-sdk, js, library, nodejs
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/api-money-node-sdk
- Size: 414 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# api-money-node-sdk
Un-official node sdk for [api-money.com](https://www.api-money.com/docs)
## Install
```sh
$ npm install api-money-node-sdk
```
## Usage
```ts
const { ApiMoney } = require('api-money-node-sdk')
const client = new ApiMoney({
secretKey: 'your_secret_key',
accessKey: 'your_access_key',
mode: 'dev', // or 'prod'
version: 1,
})
client
.request('POST', '/accounts/standard', {
subscriber: {
lastname: 'Gfr',
firstname: 'Max',
birthdate: '1998-01-01',
birth_country: 'FRA',
birth_city: 'Paris',
nationality: 'FRA',
citizen_us: false,
fiscal_us: false,
fiscal_out_france: false,
},
address: {
label1: 'Place de la Concorde',
zip_code: '75008',
city: 'Paris',
country: 'FRA',
},
email: 'max@test.com',
})
.then((response) => {
console.log(response)
})
.catch((error) => {
console.log(error)
})
```