Giter Club home page Giter Club logo

revolut.py's Introduction

Tech Banner

┌──(kali㉿kali)-[~]
└─$ nc jazper.dk 2003

     ██╗ █████╗ ███████╗██████╗ ███████╗██████╗ 
     ██║██╔══██╗██╔════╝██╔══██╗██╔════╝██╔══██╗
     ██║███████║███████╗██████╔╝█████╗  ██████╔╝
██   ██║██╔══██║╚════██║██╔═══╝ ██╔══╝  ██╔══██╗
╚█████╔╝██║  ██║███████║██║     ███████╗██║  ██║
 ╚════╝ ╚═╝  ╚═╝╚══════╝╚═╝     ╚══════╝╚═╝  ╚═╝

- LinkedIn:  https://www.linkedin.com/in/jasper-onsberg-christiansen/             
- Website:   https://jazper.dk/
- Email:     [email protected]
- Study:     Computer Science
- Age:       21 (19/1 - 2003)

Typing SVG

Show more...

Some of my projects

Show

XSploit CTF Team: A CTF (Capture the Flag) team, that aims to become better at pentesting.

dmr.py: A python package, that allows programmers to easily fetch vehicle data from the danish vehicle registry.

revolut.py: A python API wrapper for Revoluts API.

Socials

Show

Tools I've used

Show

Programming Languages:

Databases:

Web:

Other Technologies:

Home Lab

Show

Main server:

CPU: AMD Ryzen 7 5700G (8 Cores)
RAM: 64 GB
OS: Unraid
Nickname: The Beast
Storage: 2x 2 TB harddrives (Raid 1 Configuration)
Cache: 500 GB SSD

Kubernetes Cluster:

HP Elitedesk 800 G5 Mini
CPU: Intel Core i5-9500T (6 Cores)
RAM: 16 GB
Storage: 256 GB SSD

Home Assistant:

Intel Nuc
CPU: Intel Celeron J4025 (2 Cores)
RAM: 8 GB
Storage: 120 GB SSD

Home Network

Home Network controlled with TP-Link Omada SDN
Router: TP-Link ER605
Controller: TP-Link OC200
Access Point: TP-Link EAP610
Managed Switch: TP-Link TL-SG108PE
300/300 WAN Speed

revolut.py's People

Contributors

j4asper avatar

Stargazers

 avatar  avatar

Watchers

 avatar

revolut.py's Issues

Cancel uncaptured order

Create order with minimal required parameters (amount, currency) and capture_mode set to manual, with the Merchant Secret API key in the request header.
Use your implemented payment method to pay for the order you created.
Log in to your Sandbox Merchant account to cancel the payment:
Select the uncaptured transaction.
Click Cancel to cancel transaction.
In the popup click Cancel payment.

EXPECTED RESULT:
Order created successfully.
Order's state is cancelled.
Transaction status is Cancelled in your Revolut Merchant account.

Create and pay for order

Create order with minimal required parameters (amount, currency), with the Sandbox Secret API key in the request header.

Use your implemented payment method to pay for the order you created. Either using: test cards for Sandbox, or test Revolut Accounts for Sandbox, you created. For more information, see: Merchant API: Create a customer.

EXPECTED RESULT:
Order created successfully.
Order's state is completed.
Transaction status is Completed in your Sandbox Merchant account.

Manage billing and delivery information

Create order with the following parameters, with the Sandbox Secret API key in the request header:

{
  "amount": 50000,
  "currency": "GBP",
  "customer_id": "<ID of customer>",
  "shipping_address": {
    "country_code": "GB",
    "postcode": "E145AB"
  }
}

EXPECTED RESULT:
Order contains shipping_address object.

Refund order fully by partial refunds

Create and pay for order to have an order in completed state, get the id.
Refund order with minimal required parameters (amount), provide partial amount, with the Sandbox Secret API key in the request header.
Repeat until the order is fully refunded.

EXPECTED RESULT:
New orders with type: refund are created for each partial refund.
Refund order's states are completed.
Refund transactions statuses are Completed in your Revolut Merchant account.
Posting a refund after full amount is refunded returns an error.

Refund order

Create and pay for order to have an order in completed state, get the order's id.
Refund order with minimal required parameters (amount), provide full amount for total refund, with the Sandbox Secret API key in the request header.

EXPECTED RESULT:
New order with type: refund is created.
Refund order's status is completed.
Refund transaction status is Completed in your Revolut Merchant account.

Create a customer

Create a customer with minimal required parameters (email), with the Sandbox Secret API key in the request header.

EXPECTED RESULT:
Customer created successfully.

Capture order later

Create order with minimal required parameters (amount, currency) and capture_mode set to manual, with the Merchant Secret API key in the request header.
Use your implemented payment method to pay for the order you created.
Log in to your Sandbox Merchant account to capture the payment:
Select the uncaptured transaction.
Click Capture to capture the amount.

EXPECTED RESULT:
Order created successfully.
Order's state is completed.
Transaction status is Completed in your Sandbox Merchant account.

Manage multiple partial refunds

Create and pay for order to have an order in completed state, get the id.
Refund order with minimal required parameters (amount), provide partial amount, with the Sandbox Secret API key in the request header.
Repeat as many times you want to test.

EXPECTED RESULT:
New orders with type: refund are created for each partial refund.
Refund order's states are completed.
Refund transactions statuses are Completed in your Revolut Merchant account.

Create a customer

Create a customer with minimal required parameters (email), with the Sandbox Secret API key in the request header.

EXPECTED RESULT:
Customer created successfully.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.