![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
paymill-node
Advanced tools
This is a Node.JS wrapper for Paymills API/v2.
npm install paymill-node
var api_key = 'abc'; // secret paymill API key
var paymill = require('paymill-node')(api_key);
paymill.clients.create(
{email: 'schaaf@komola.de'},
function(err, client) {
if (err) {
console.log("Couldn't create the customer record");
return;
}
console.log("client id " + client.data.id);
}
);
All methods takes a callback as their last parameter. The callback is called with an error code (if any) and then the response.
paymill.payments
- (https://www.paymill.com/en-gb/documentation-3/reference/api-reference/#document-payments)
.create(payment)
.details(payment_id)
.list(data)
.remove(payment_id)
paymill.preauthorizations
- (https://www.paymill.com/en-gb/documentation-3/reference/api-reference/#document-preauthorizations)
.create(preauthorization)
.details(preauthorization_id)
.list(data)
paymill.transactions
- (https://www.paymill.com/en-gb/documentation-3/reference/api-reference/#document-transactions)
.create(transaction)
.details(transaction_id)
.update(transaction_id, data)
.list(data)
paymill.refunds
- (https://www.paymill.com/en-gb/documentation-3/reference/api-reference/#document-refunds)
.refund(tranaction_id, amount, description)
.details(refund_id)
.list(data)
paymill.clients
- (https://www.paymill.com/en-gb/documentation-3/reference/api-reference/#document-clients)
.create(client)
.details(client_id)
.update(client_id, data)
.remove(client_id)
.list(data)
paymill.offers
- (https://www.paymill.com/en-gb/documentation-3/reference/api-reference/#document-offers)
.create(offer)
.details(offer_id)
.update(offer_id, data)
.remove(offer_id)
.list(data)
paymill.subscriptions
- (https://www.paymill.com/en-gb/documentation-3/reference/api-reference/#document-subscriptions)
.create(subscription)
.details(subscription_id)
.update(subscription_id, data)
.remove(subscription_id)
.list(data)
paymill.webhooks
- (https://www.paymill.com/en-gb/documentation-3/reference/api-reference/#document-webhooks)
.create(webhook)
.details(webhook_id)
.update(webhook_id, data)
.remove(webhook_id)
.list(data)
I created an account paymill-node@mailinator.com for testing purposes. The password ist paymill-node. The API keys in this document are from it. I also created a postbin for testing purposes at: http://requestb.in/1dgn50m1?inspect
See the issue tracker.
Authors, sorted by number of commits:
$ git shortlog -s | sort -rn
18 Thomas Schaaf
15 Nikolas Poniros
11 Sebastian Hoitz
2 Jörg Tillmann
1 Quentin Adam
1 Emilian Stoilkov
Sebastian Hoitz (hoitz@komola.de), Thomas Schaaf (schaaf@komola.de). Development was sponsored by komola.
(The MIT License)
Copyright (C) 2011 Ask Bjørn Hansen Copyright (C) 2012 Sebastian Hoitz, Thomas Schaaf
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Big thanks go to Ask Bjørn Hansens (ask@develooper.com) who created node-stripe and greatly inspired the structure. We also thank Paymill for making payment awesome for europeans.
FAQs
Paymill API wrapper
The npm package paymill-node receives a total of 18 weekly downloads. As such, paymill-node popularity was classified as not popular.
We found that paymill-node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.