Skip to content

Instantly share code, notes, and snippets.

@alexeybondarenko
Last active June 1, 2016 09:13
Show Gist options
  • Save alexeybondarenko/d213ec9e5b21d6476cfe4cfe9cbf6cf0 to your computer and use it in GitHub Desktop.
Save alexeybondarenko/d213ec9e5b21d6476cfe4cfe9cbf6cf0 to your computer and use it in GitHub Desktop.
Credit Service APIs

Кредитные сервисы

Credit365.ua

()[https://credit365.ua/ru/how-to-get]

  • Оформление кредита происходит через личный кабинет
  • Подтверждение телефона и email
  • Заполнение серии и номера паспорта, ИНН
  • Привязка и проверка банковской карты
  • Подпись договора в электронном виде при помощи электронной подписи одноразовым идентификатором.
  • Введите значение проверочной суммы, которая была заблокирована на Вашей карте. После этого заявка сразу поступит на рассмотрение.
  • Получите деньги на карту

Moneyveo

Личные данные Социальная информация Адрес Трудоустройство Реквизиты карты Подтверждение введенных данных

Просчет стоимости займа

curl 'https://moneyveo.ua/ru/CreditHelper/CalcCredit/' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' --data 'amount=1400&period=10' --compressed
{"total":1402.8000,"percents":2.8000,"amount":1400,"period":10}

Логирование действий пользователя

curl 'https://moneyveo.ua/ru/ClientBehaviour/Log/' --data 'data=%5B%7B%22field%22%3A%22slider1%22%2C%22clientactionid%22%3A9%2C%22value%22%3A1400%7D%5D' --compressed
curl 'https://moneyveo.ua/EvHandler.aspx/?name=UserMachineId_etag&emode=etag&_=1464693461106' -H 'Cookie: RequestData=57d0f5b8-1771-43ba-9f1f-748d3590683c; _ym_uid=1464690394617548895; _ym_isad=1; ASP.NET_SessionId=uw0kl3juyggkhxcnzbtnidfo; _gat=1; _ga=GA1.2.bac1f650-2859-461f-b202-e2195a0766f4; UserMachineId=eef544a3-8a3d-4d58-98fe-f3c77981924e' -H 'Connection: keep-alive' -H 'Cache-Control: no-cache' --compressed

twinero.es

No API

LendingClub

curl 'https://www.lendingclub.com/borrower/saveABTestEvent.action' -H 'Connection: keep-alive' -H 'Referer: https://www.lendingclub.com/borrowerc/personalInfo.action?regActorId=&referrerId=&loanAmount=%242%2C000&loanPurpose=home_improvement&creditScore=EXCELLENT&rate-submit=Check+Your+Rate' --data 'eventName=pi1_success&eventValue=pi1_success_create' --compressed

Event Logging

curl 'https://www.lendingclub.com/borrower/hopscotchSaveEvent.action?r2=44397675' -H 'Referer: https://www.lendingclub.com/borrowerc/personalInfo.action?regActorId=&referrerId=&loanAmount=%242%2C000&loanPurpose=home_improvement&creditScore=EXCELLENT&rate-submit=Check+Your+Rate' -H 'Origin: https://www.lendingclub.com' -H 'X-NewRelic-ID: Vg8HU1dUGwIJVFZaBwk=' -H 'X-Requested-With: XMLHttpRequest' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' --data 'json=[{"f":"C","n":"CLICK_BUTTON","v":"master_getYourRateButton"}]' --compressed

Vivus.pl & Zaplo.cz

{
    "_links": {
        "firstLoanOffer": {
            "href": "http://www.vivus.pl/api/application/first-loan-offer?amount=_amount&term=_term",
            "title": "Calculate application offer for anonymous user"
        },
        "nextLoanOffer": {
            "href": "http://www.vivus.pl/api/application/next-loan-offer?amount=_amount&term=_term",
            "title": "Calculate second loan application offer for anonymous user"
        },
        "self": {
            "href": "http://www.vivus.pl/api/application",
            "title": "Application calculations root for anonymous user"
        },
        "credit-limit": {
            "href": "http://www.vivus.pl/api/application/credit-limit",
            "title": "Calculates credit limit for anonymous user based on given parameters"
        },
        "constraints": {
            "href": "http://www.vivus.pl/api/application/constraints",
            "title": "Application constraints for anonymous user"
        }
    }
}

curl 'https://www.vivus.pl/api/application/first-loan-offer?amount=1600&term=30' -H 'Pragma: no-cache' -H 'Accept-Encoding: gzip, deflate, sdch, br' -H 'Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.6,en;q=0.4,uk;q=0.2' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.63 Safari/537.36' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Referer: https://www.vivus.pl/' -H 'X-Requested-With: XMLHttpRequest' -H 'Cookie: api-csrf=8f504326-c84d-47d6-9146-c17f70ec72fd; visid_incap_835385=tGcJcDS4RnOJsEmOl0gbKtVmTVcAAAAAQUIPAAAAAACt3anLHgghOyk1f9uWcQya; global_id=f3b22900-82f6-40e8-b9fa-8009365b4dad; quitsnap_A=84484126.1645135023.1464690400402; km_ai=8FYlO36ssOPz%2FwsE18IPGpfK2GA%3D; BIGipServerPOOL-5.79.11.166-80=rd1o00000000000000000000ffffc0a842a5o80; incap_ses_323_835385=7TstGZzJ0noIn2IbvId7BMh2TVcAAAAAHAzKX1EY/O4IoxCOtjn5nQ==; GTM_session=1464694473070.1763069999.1464690396.undefined; _dc_gtm_UA-33521943-1=1; km_lv=x; nmfirstparty=rud0vlbdvhdio; km_uq=; _gat=1; quitsnap_C=531.1464694479521; repeatedLoan=false; onJumpSwitch=true; kvcd=1464694491195; km_vs=1; smuuid=1550659ced5-36f0056118bc-23f68fdc-b99dc6fe-80560a5d-413d40b942fe; quitsnap_B=84484126.1464690400402.24420370.2.0.0.2; sourceChecked=true; sourceclk=2429128; sourcega=direct; _ga=GA1.2.1763069999.1464690396; WT_FPC=id=9d415aac-2795-44d2-8e28-7f3bd396de10:lv=1464687416853:ss=1464687274546; viewed_cookie_policy=yes; SessionReferer=https%3A%2F%2Fwww.vivus.pl%2F' -H 'Connection: keep-alive' -H 'Cache-Control: no-cache' --compressed
{"term":30,"newPrincipal":1600.00,"totalPrincipal":1600.00,"interestRate":0.0,"newInterest":0.00,"newInterestBeforeDiscount":0.00,"firstPaymentInterest":0.00,"currentPrincipal":0.00,"currentPrincipalWithInterest":0.00,"currentPrincipalWithInterestAndInitialCommission":0.00,"monthlyPayment":1600.00,"agreementEndDate":"2016-06-30","isAdditionalAmount":false,"discountAmount":0,"discountPercent":0,"annualPercentageRate":0.0,"totalInterest":0.00,"initialCommission":0.00,"newInitialCommission":0.00,"totalCostOfCredit":0.00,"totalRepayableAmount":1600.00,"extensionFees":{"7":174.40,"14":222.40,"30":251.20},"loanExtensionFees":[{"term":7,"unit":"DAYS","fee":174.40,"interest":3.00,"feeWithoutInterest":171.40},{"term":14,"unit":"DAYS","fee":222.40,"interest":6.10,"feeWithoutInterest":216.30},{"term":30,"unit":"DAYS","fee":251.20,"interest":13.10,"feeWithoutInterest":238.10}],"newAmountUsedDays":30,"newAmountWithInterestAndInitialCommission":1600.00,"newPrincipalApr":0.0,"_links":{"self":{"href":"http://www.vivus.pl/api/application","title":"Calculate application offerLink for anonymous user"}}}
{
    "term": 30,
    "newPrincipal": 1600,
    "totalPrincipal": 1600,
    "interestRate": 10,
    "newInterest": 13.2,
    "newInterestBeforeDiscount": 13.2,
    "firstPaymentInterest": 13.2,
    "currentPrincipal": 0,
    "currentPrincipalWithInterest": 0,
    "currentPrincipalWithInterestAndInitialCommission": 0,
    "monthlyPayment": 1851.3,
    "agreementEndDate": "2016-06-30",
    "isAdditionalAmount": false,
    "discountAmount": 0,
    "discountPercent": 0,
    "annualPercentageRate": 490,
    "totalInterest": 13.2,
    "initialCommission": 238.1,
    "newInitialCommission": 238.1,
    "totalCostOfCredit": 251.3,
    "totalRepayableAmount": 1851.3,
    "extensionFees": {
        "7": 174.4,
        "14": 222.4,
        "30": 251.2
    },
    "loanExtensionFees": [
        {
            "term": 7,
            "unit": "DAYS",
            "fee": 174.4,
            "interest": 3,
            "feeWithoutInterest": 171.4
        },
        {
            "term": 14,
            "unit": "DAYS",
            "fee": 222.4,
            "interest": 6.1,
            "feeWithoutInterest": 216.3
        },
        {
            "term": 30,
            "unit": "DAYS",
            "fee": 251.2,
            "interest": 13.1,
            "feeWithoutInterest": 238.1
        }
    ],
    "newAmountUsedDays": 30,
    "newAmountWithInterestAndInitialCommission": 1851.3,
    "newPrincipalApr": 490,
    "_links": {
        "self": {
            "href": "http://www.vivus.pl/api/application",
            "title": "Calculate application offerLink for anonymous user"
        }
    }
}
{
    "loanLimits": {
        "1": 1600,
        "2": 2600,
        "3": 3500,
        "4": 4000,
        "5": 4500,
        "6": 4500,
        "7": 4500,
        "8": 5000
    },
    "amountInterval": {
        "min": 100,
        "max": 5000,
        "step": 50,
        "defaultValue": 1600
    },
    "termInterval": {
        "min": 1,
        "max": 30,
        "step": 1,
        "defaultValue": 30
    },
    "_links": {
        "self": {
            "href": "http://www.vivus.pl/api/application/constraints",
            "title": "Application constraints for anonymous user"
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment