Skip to content

FinDockLabs/vipps-get-charges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vipps GetCharges

Extract all charges from your Vipps recurring payment agreements with ease.

Quick Start

1. Install Dependencies

pip install -r requirements.txt

Or install directly:

pip install requests python-dotenv

2. Configure Your Environment

Update the .env file in the same directory with your Vipps API credentials:

client_id = 'your_client_id_here'
client_secret = 'your_client_secret_here'
Ocp_apim_subscription_key = 'your_subscription_key_here'
merchant_serial_number = your_merchant_number_here

3. Configure the Script

Open GetCharges.py and adjust the settings at the top:

  • START_DATE – Set to a date like "2025-01-01" or None to get all charges
  • SKIP_EMPTY – Set to True to skip agreements without charges, or False to include them

4. Run the Script

python3 GetCharges.py

The script will generate a CSV file named VippsCharges_YYYY-MM-DD.csv with all your charge data.

Contributors

Contributing

When contributing to this repository, please first discuss the change you wish to make via an issue or any other method with FinDock before making a change.

Support

FinDock Labs is a non-supported group in FinDock that releases applications. Despite the name, assistance for any of these applications is not provided by FinDock Support because they are not officially supported features. For a list of these apps, visit the FinDock Labs account on Github.

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Script to retrieve all charges for a merchant agreement through the VIPPS API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages