fuel-doc.creditinfo.ee Open in urlscan Pro
54.172.48.65  Public Scan

URL: https://fuel-doc.creditinfo.ee/
Submission: On October 05 via automatic, source certstream-suspicious — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Public


Documentation Settings
Environment
No Environment
Layout
Double Column
Language
cURL



FUEL REGISTRY

 * Introduction

GET
Retrieve overdue payments
POST
Add, update or delete overdue payment
Fuel Registry

AUTHORIZATIONBasic Auth

GET

Retrieve overdue payments


https://api.creditinfo.ee/legalPersons/{regcode}/fuelRegistry?all=<boolean>

View the existence of overdue payments by a legal person. Returns:

   
 * "regcode"- registry code of the debtor
   
 * "totalNumberOverduePayments" - total number of fuel retailers to which
   payments are currently overdue
   
 * "totalSumOverduePayments" - total sum of all overdue payments owed to all
   fuel retailers
   

AUTHORIZATIONBasic Auth
This request is using Basic Auth from collectionFuel Registry
PARAMS
all
<boolean>


Example Request
Retrieve legal person overdue payments status

curl --location --request GET 'https://api.creditinfo.ee/legalPersons/22222222/fuelRegistry'

Example Response
200 OK
Body
Header(7)
View More

{
  "service": "Legal person",
  "version": 1,
  "requestID": 1596464159,
  "result": {
    "regcode": "22222222",
    "totalNumberOverduePayments": 3,
    "totalSumOverduePayments": 1876
  }
}

POST

Add, update or delete overdue payment


https://api.creditinfo.ee/legalPersons

Add or update the overdue payments sum of a legal person owed to the fuel
retailer associated with your user account. Every call rewrites the previous
overdue sum. Returns the updated overdue payments status of the legal person.

Every request must contain:

   
 * "regcode" - the registry code of the debtor
   
 * "sumOverduePayments" - the new amount of overdue payments, 0 if there are no
   remaining overdue payments
   

AUTHORIZATIONBasic Auth
This request is using Basic Auth from collectionFuel Registry
BODYraw

{
	"regCode": {ID},
	"fuelRegistry": {
		"sumOverduePayments": {SUM}
	}
}



Add or update overdue payment
Example Request

curl --location --request POST 'https://api.creditinfo.ee/legalPersons' \
--data-raw '{
	"regCode": 22222222,
	"fuelRegistry": {
		"sumOverduePayments": 17
	}
}'

Example Response
200 OK
Body
Header(7)
View More

{
  "service": "Legal person",
  "version": 1,
  "requestID": 1596464299,
  "result": {
    "regcode": "22222222",
    "totalNumberOverduePayments": 4,
    "totalSumOverduePayments": 1893
  }
}