Skip to content

Instantly share code, notes, and snippets.

View ValekS's full-sized avatar

Valentyn Smahliuk ValekS

View GitHub Profile
@ValekS
ValekS / example.php
Last active August 15, 2018 07:41
Example of array handling
<?php
/**
* [
* [1, 1],
* [1, 2],
* [1, 3],
* etc.
* ]
* to
@ValekS
ValekS / 1_registration.py
Last active July 22, 2025 14:37
[Monobank open API for providers] registration / check reg.status / get corp.info EXAMPLE REQUESTS | Original: https://gist.github.com/mydropcrm/0798023a520826260c60c648dbc0dc6a
import requests
import base64
import time
import ecdsa
import hashlib
# Monobank open API for providers - registration
# Docs - https://api.monobank.ua/docs/corporate.html#tag/Avtorizaciya-ta-nalashtuvannya-kompaniyi
# POST https://api.monobank.ua/personal/auth/registration