KO
|
EN
gitlite β search
Search
#hacktoberfest
#python
#javascript
#golang
#react
#rust
#machine-learning
#hacktoberfest2020
#windows
#reactjs
#typescript
#material-ui
swish-python
β 26
Open GitHub β
π° Swish Python Client Library
Download README (.md)
Explore Similar Repositories
bankid
:
npm module to simplify integration with the Swedish Bank ID service for user authentication and signing processes.
pybankid
:
BankID Relying Party client for Python
bankid4keycloak
:
BankID Identity Provider for Keycloak
BankID-examples
:
Code examples for implementing integration with BankID services
bank-id
:
BankID
// repository documentation
Was this content helpful?
β 0
(0 ratings)
Select Rating:
β
β
β
β
β
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
swish-python
?
Download (.md)
 [](https://travis-ci.org/MadSpindel/swish-python) [](https://codecov.io/github/MadSpindel/swish-python?branch=master) # π° Swish Python Client Library This client library is designed to support the Swish handel API. [Offical Integration Guide](https://assets.ctfassets.net/zrqoyh8r449h/68UD4zzhqCEVffNDD7G2ko/e53ac6bae9d3608858fd98d58732f336/Merchant_Integration_Guide_2.5.pdf) ## π Installation It's easy! Just install it with pip: ``` pip install swish ``` ## π Quick Start Example ```python import swish swish_client = swish.SwishClient( environment=swish.Environment.MSS, merchant_swish_number='1231181189', cert=('/path/to/cert.pem', '/path/to/key.pem'), verify='/path/to/swish.pem' ) payment = swish_client.create_payment( payee_payment_reference='0123456789', callback_url='https://example.com/api/swishcb/paymentrequests', payer_alias='46712345678', amount=100, currency='SEK', message='Kingston USB Flash Drive 8 GB' ) # YOUR CODE: Save payment.id and other info in your database for later! ```