Skip to main content

build downloads Code style: black

Python Mopé

Client library for Mopé by Hakrinbank

Token acquisition and API Docs

Requirements

  • Python >= 3.7,<=3.11
  • requests (currently not sure what the min required version is)
  • Mopé API Tokens

Getting Started

First, you can install from PyPi by running pip install python-mope

Example usage:

from mope import Mope

mope = Mope(token='test_123')
mope.shop.get_payment_request(payment_id='123')

Resources

shop

Methods

shop.create_payment_request
Argument Type Required
amount int yes
description string yes
order_id string yes
currency enum (USD, SRD, EU) yes
redirect_url string yes

return type: mope.models.payments.CreatePaymentResponse

shop.get_payment_request
Argument Type Required
payment_id string yes

return type: mope.models.payments.PaymentRequest

Metadata

Release files for python-mope 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-mope 0.1.0
File Size Uploaded
python-mope-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-mope 0.1.0
File Interpreter ABI Platform
python_mope-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / python-mope-0.1.0.tar.gz

Download URL python-mope-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
682ccfb326f496e72004a2bd738b607fc9240c8ead5319aa99f8efa49cc04883
BLAKE2b-256 checksum
How to use checksums
8a4e067a909036e5933c4f7a95f99ba746efb485db481e279892870bf54fd834
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.15

Release files / python_mope-0.1.0-py3-none-any.whl

Download URL python_mope-0.1.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
52f5432f37a67a615aa839bf4afe176beae2077aec2180ebc13d8eb0b3b1a704
BLAKE2b-256 checksum
How to use checksums
a3d9336bf7a871aa4b01ef38a666846f29020af19e40fd00cb5abfbf73b1e477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.15

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page