Skip to content

shinxz12/sepay

Repository files navigation

Unofficial SePay SDK for Python

pypi python Build Status

SDK for SePay API read more in official docs

Features

  • Transaction APIs.
  • Bank Account APIs.

Example

  • Create your API Key here
  • Get data:
from sepay import SePay


se_pay = SePay(api_key=<YOUR_API_KEY>)
bank_account = se_pay.bank_account
transaction = se_pay.transaction

# Get transactions list with filters
transaction.get_transactions(filters={ "reference_number": 'FT24314R7N9P'})

# Get transactions count
transaction.get_count(filters={ "reference_number": 'FT24314R7'})

# Get transaction detail
transaction.get_transaction("4508999")

# Get bank accounts list
bank_account.get_bank_accounts(filters={ "reference_number": 'FT24314R7N9P'})

# Get bank accounts count
bank_account.get_count(filters={ "reference_number": 'FT24314R7'})

# Get bank account detail
bank_account.get_bank_account("3992")