Skip to main content

A simple and easily integrable yenepay library for your python code

Project description

A simple and easily integrable yenepay library for your python code

image0

help: https://community.yenepay.com/ ## API Reference

Client

Initiates a yenepay client, required for any of the other services of this library https://community.yenepay.com/docs/getting-started/get-your-seller-merchant-code/

from yenepaypy.main import Client

client = Client(merchant_id = '...')

#on success creates a client instance with functions

Parameter

Type

Description

merchant_id

string

Required. Your Merchant id(customer code)

Send Payment To User

Sends money automatically to other users, if you have any problems with getting the values for this function, I suggest you read: https://community.yenepay.com/docs/integration-guide/using-our-api/

sdk core example: https://github.com/YenePay/yenepay.sdk.core.client

from yenepaypy.main import Client

client = Client(merchant_id = '...')
authtoken = "..."
pem_file="C:/.../...."

result = client.send_to(
        pemfile = pem_file,
        authtoken = authtoken,
        amount = '...',
        recieverid = '...',
        payment_text = '...'
  )

#on success returns a string with the grand total and name of the reciever

Parameter

Type

Description

pemfile

string

Required. signature key file location in local disk

authtoken

string

Required. Authoriztion Token string

amount

string

Required. amount of money to be sent

recieverid

string

Required. customer code of the reciever

payment_text

string

Optional. text to be attached with the payment, defaults to ‘Pay’

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yenepaypy-0.1.2.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yenepaypy-0.1.2-py2.py3-none-any.whl (16.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file yenepaypy-0.1.2.tar.gz.

File metadata

  • Download URL: yenepaypy-0.1.2.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.2

File hashes

Hashes for yenepaypy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 365a0c3c89037d593b8e7b243a346be69288e9e1b7e114c2addc7f1969c14e47
MD5 3f8504c81008f85bbff16b22c8af2e10
BLAKE2b-256 4c9b1b34fdff2467b77694352139405d931b5a9f529e561b4a715be7ff639cf0

See more details on using hashes here.

File details

Details for the file yenepaypy-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: yenepaypy-0.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.2

File hashes

Hashes for yenepaypy-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 517ad1dc652d761a9966da105a296ad7bb91f0099455b9c87405446f74f73ab7
MD5 b08053c8c44a1267bb06483af0b266e7
BLAKE2b-256 8dd62657a520c141b35b7198550d35505bba817287339977c526749856fa2622

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page