Payment Defaults REST API Overview

The Payment Defaults REST API enables Creditinfo Payment Default Register customers to manage payment defaults directly from their own information systems. The API supports the complete payment default lifecycle, from creating a payment default to terminating it or ending its publication. In addition, the API provides access to payment default information and notification history sent to debtors. Using the REST API reduces manual data entry and helps ensure that payment default data remains accurate and up to date throughout the debt management process.

Available Features

The REST API allows creditors to:

Service Overview

When a payment default is submitted, the system validates the provided data against the business rules of the Payment Default Register.

After successful validation, a payment default is created and the debtor notification process is initiated.

Once all publication requirements have been met, the payment default is automatically published in the Payment Default Register.

Environments

Sandbox

The Sandbox environment is intended for:

  • Development
  • Integration testing
  • Business process validation

The environment allows users to create test data and execute test scenarios covering different stages of the payment default lifecycle.

Generate and Reset Endpoint for Sandbox only

Generate endpoint:
Use the generate endpoint to create a predefined set of test data. The generate endpoint automatically creates payment defaults in all statuses, enabling faster testing.
POST api/v1/payment-defaults/generate


Reset endpoint:
Use the reset endpoint to restore the Sandbox to its original test data. All created or modified payment defaults are replaced with the originally generated dataset.
POST api/v1/payment-defaults/reset

Live

The Live environment is intended for managing real payment defaults. Before production access is granted, the client must complete integration testing in the sandbox environment and confirm readiness for production. Creditinfo may perform basic technical checks, but the client remains responsible for validating the correctness of their integration.

EnvironmentBase URL
SANDBOXpd.creditinfo.ee/sandbox
LIVEpd.creditinfo.ee/api

Integration Process

Implementation of the REST API typically consists of the following stages:

  1. Signing the service agreement
  2. Provisioning API credentials and access
  3. Development of the integration
  4. Integration testing in the Sandbox environment
  5. Go-live in the Live environment

Creditinfo provides support throughout the implementation process when required.

Permissions

Available API functionality depends on the permissions assigned to the creditor.

Permissions determine access to:

  • Specific API functions
  • Publication end date management
  • Sandbox and Live environments

Permissions are configured by Creditinfo.

HTTP status codes:

CodeMeaning in API context
200 OKRequest succeeded
202 AcceptedDeletion request accepted for review
401 UnauthorizedAuthentication failure
403 ForbiddenInsufficient permissions
404 Not FoundNo payment default exists with the given ID
422 Unprocessable EntityValidation error — response contains further details in the errors field
500 Internal Server ErrorInternal Server Error
503 Service UnavailableService temporarily unavailable

The errors field is only present in validation error responses (422 Unprocessable Entity).

{
  "message": "Human-readable error description",
  "errors": { "fieldName": ["Validation detail"] }
}

Null and Empty Value Conventions

When a field has no value or is not applicable, the API returns the following defaults depending on the expected data type:

TypeWhen data is missing or unknown
Stringnull
Numbernull
Array[]
Object{}
Unknown / not availablenull

Did this page help you?