diff --git a/blockchain_integration/pi_network/payment_gateways/santander.py b/blockchain_integration/pi_network/payment_gateways/santander.py index d689effca..8ac50ec0a 100644 --- a/blockchain_integration/pi_network/payment_gateways/santander.py +++ b/blockchain_integration/pi_network/payment_gateways/santander.py @@ -1,5 +1,6 @@ import santander + class SantanderPaymentGateway: def __init__(self, api_key, api_secret): self.api_key = api_key @@ -7,8 +8,5 @@ def __init__(self, api_key, api_secret): santander.Configuration.configure(api_key, api_secret) def create_payment(self, amount, currency): - payment = santander.Payment.create({ - 'amount': amount, - 'currency': currency - }) + payment = santander.Payment.create({"amount": amount, "currency": currency}) return payment