Skip to main content

This package provides Faspay SendMe 1.5 support for the Python Language.

Project description

N|Solid

Welcome To Faspay SendMe

This package provides Faspay SendMe 1.5 support for the Python Language.

Requirements

The following versions of Python are supported.

  • Python 3 or latest

To use this package, it will be necessary to have a credential. These are referred to as

  • virtual_account
  • faspay_key
  • faspay_secret
  • app_key
  • app_secret
  • client_key
  • client_secret
  • iv

in your root project, include config file "SendMeConfig.ini". You can download file inside "tests" directory.

Please contact Administrator Faspay to create the required credentials.

Installation

To install in your project use this command:

pip install FaspaySendme

Install Dependencies package

pip install requests
pip install pycryptodome

Upgrade Latest Version

To upgrade use this command:

pip install --upgrade FaspaySendme

Usage

Register Flow

from FaspaySendme import Api

response = Api.Services.register(Api.Services, {
    "virtual_account"           : "9920015307",
    "beneficiary_account"       : "10000005",
    "beneficiary_account_name" 	: "Faspay Dev 5",
    "beneficiary_va_name"       : "Faspay Lib Tst",
    "beneficiary_bank_code" 	: "008",
    "beneficiary_bank_branch" 	: "KCP Pasar Baru",
    "beneficiary_region_code" 	: "0102",
    "beneficiary_country_code" 	: "ID",
    "beneficiary_purpose_code" 	: "1"
})

Mutasi Flow

from FaspaySendme import Api

response = Api.Services.mutasi(Api.Services, {
    "virtual_account"   : "9920015307",
    "start_date"        : "2019-02-01",
    "end_date" 	        : "2019-02-18"
})

the parameter refer to Faspay SendMe Documentation.

Environment Production

To use environment production must be call this method like as :

from FaspaySendme import Api

Api.Services.enableProd(Api.Services)

Available Methods

The Faspay SendMe provide has the following [method]:

  • 'register()' to use register your customer bank account
  • 'confirm()' to use confirm your customer bank account after register method
  • 'transfer()' to use transfer balance to customer bank account registered
  • 'balance_inquiry()' to use check your balance
  • 'inquiry_name()' to use check your customer bank account detail
  • 'mutasi()' to use get your transaction history
  • 'inquiry_status()' to use check the latest status transfer.

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

FaspaySendme-1.5.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

FaspaySendme-1.5-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file FaspaySendme-1.5.tar.gz.

File metadata

  • Download URL: FaspaySendme-1.5.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for FaspaySendme-1.5.tar.gz
Algorithm Hash digest
SHA256 c92be6e8ed4c9b34d5d6ccc50194accb6497b9d7306247b3e4bd06b47935119b
MD5 79c53f910d9d8792856d221cfebf1348
BLAKE2b-256 ca8cf5972d358cd330c8859ff9a3bfbc8357f3508b2ae122a7beef754d0cde1e

See more details on using hashes here.

File details

Details for the file FaspaySendme-1.5-py3-none-any.whl.

File metadata

  • Download URL: FaspaySendme-1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

File hashes

Hashes for FaspaySendme-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2b5e8e426efaa25024990e7b0d7f0b6cefbf347aabcfc466c54925935b371fc9
MD5 234b1ee7d34816707c7266e9ba1a3a3d
BLAKE2b-256 8335336971237b1bb798cc02d899f4eaf1f2d8c4221a8efee382f9fa6f6995d1

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