Skip to main content

Basic information for partner e-shops

The interface for the HC On-line payment method is a REST API, where JSON notation is used for all communication (queries - requests and responses) and data description.

Integration overview​

Integration is built around four simple steps. For each step you can choose the option that best fits your stackβ€”from full API control to minimal integration.

1
πŸ“Š

Calculator

2
πŸ›’

Create application

3
πŸ””

Notifications

4
πŸ“¦

Fulfillment


1. πŸ“Š Calculator in product detail​

Let customers see installment options on your product page. Choose one of three approaches:

OptionDescriptionReference
APIYour own design; we return the values. Only for certified intermediaries under Act 257/2016 Sb.PSP: Installments calculator resources eshop: Installments calculator resources
WidgetJavaScript widget embedded in your e-shop (download here). Only for certified intermediaries under Act 257/2016 Sb.JavaScript widget integration
Standalone"Link only" to usβ€”opens our calculator in a new window or tab.Standalone

2. πŸ›’ Create application​

Create the application via API and send the customer to us to complete it.


3. πŸ”” Notifications​

Stay in sync with application status. Choose one of three options:

OptionDescriptionReference
Notification endpointWe call your API whenever the application status changes.PSP: Application notification - eshop: Application notification
WebserviceYou query us via API for the current application status ("GET application detail").PSP: Get application - eshop: Get application
Webclient + emailManual check in the web application, with email notifications.β€”

4. πŸ“¦ Fulfillment: shipped and delivered​

Confirm that the order was sent and/or delivered. Choose how to report:

OptionDescriptionReference
Mark as shippedConfirm dispatch via API.PSP: Mark order as shipped - eshop: Mark order as shipped
Mark as deliveredConfirm delivery to the customer via API.PSP: Mark order as delivered - eshop: Mark order as delivered
WebclientConfirm manually after signing in to the web application.β€”
  • The Technical Documentation for the API (hereinafter TD) and basic description of the payment method functionality can be found here
  • A publicly accessible repository with supporting data is available at https://github.com/homecreditcz, where you will find:
    • This guide to the public API including tutorials and sample data
    • Installment calculator in the form of a JavaScript widget (widget-calculator)
    • PHP script providing basic functionality necessary for integrating HC payment into your e-shop (php-script)
    • PHP library providing basic functionality necessary for integrating HC payment into your e-shop (oneclick-api-client) - WARNING - DEPRECATED - only for PHP 5.6!!!