loading
open in
1
2
3
4
5
6
7
8
9
10
11
12
13
import requests

"""
Allowed values for testing: 
(customer_id, account_id) = (1,1), (1,2), (2,1)
""" 

url = 'https://api.greenbase.kiwi/balance?customer_id=1&account_id=1' 
headers = {'Authorization': 'gr33nbase_example_token_!:$$'}

response = requests.get(url, headers=headers)

print(response.text)
Python 3.6.1 (default, Dec 2015, 13:05:11) [GCC 4.8.2] on linux