Kassa24

Overview

Kassa24 is a payment method that allows you to pay in cash by using Kassa24 kiosks. You can perform purchases through this method by using Payment Page.

Download the logo in vector format here.

Payment method type Payment by using kiosks
Countries and regions Kazakhstan
Payment currencies KZT
Currency conversion
Purchases
Payouts
COF payments
Full refunds
Partial refunds
Chargebacks
Notes Payments are performed by customers in cash using Kassa24 kiosks.
Onboarding and access fee Refer to your Rocketpay key account manager.

Interaction diagram

Payment processing by using the Kassa24 payment method requires merchant's web service, one of Rocketpay interfaces, and the Rocketpay payment platform, as well as provider's technical facilities.

Operations support

  Interfaces Amounts, KZT Times
Payment Page CMS Plug-ins Gate Dashboard minimum maximum basic threshold
Purchases 5.00 * *

* For more information, refer to the Rocketpay key account manager.

You can check the payment amount limits in your project by using Dashboard. To check your payment amount limits, go to Dashboard, select the Projects section and click the Payment methods tab.

Processing scenarios

In the Kassa24 method, to perform a purchase operation customer needs to pay by cash via a kiosk by using the payment instruction.

Figure: Purchase by using Payment Page

The sections that follow provide detailed information about what you need to perform payments and how you can analyze the information on payments and operations.

Purchase by using Payment Page

General information

In the Kassa24 method, when processing a purchase by using Payment Page, the merchant web service should send a request with all the required parameters and signature to the Rocketpay URL and get the callback with the payment result from the payment platform. When opening Payment Page, you can have Payment Page opened with the Kassa24 method pre-selected. For more information about pre-selecting payment methods, see in Preselecting payment methods. The full sequence and particularities of the purchase process are provided below.

Figure: Purchase sequence by using Payment Page

  1. Customer initiates a purchase on the merchant's web service.
  2. The web service sends the request for opening Payment Page to the specified Rocketpay URL.
  3. The purchase request enters the payment platform.
  4. The payment platform performs initial request processing that includes validation whether all required parameters are available and signature is correct.
  5. The requested Payment Page is generated by the Rocketpay payment platform as specified in the project settings and request parameters.
  6. Payment Page is displayed to the customer.
  7. The customer selects the Kassa24 method.
  8. The phone number input form is displayed to the customer.
  9. The customer enters phone number.
  10. The payment data is displayed to the customer on Payment Page in the form of an instruction. The instruction specifies the deadline for the customer to complete the payment.
  11. The customer completes all the payment steps required.
  12. The payment is processed on the Kassa24 side.
  13. The result is displayed to the customer in the Kassa24 service.
  14. The Kassa24 service sends the result notification to the payment platform.
  15. The payment platform sends a callback with the payment result to the web service.

The sections that follow discuss in more details the request format and the Payment Page parameters to use in the Kassa24 payment method and provide the information on the format of callbacks with payment results. For the general information on how to use the Payment Page API, see Payment Page API Description.

Request format

There are several things you need to consider when using the Kassa24 method:

  1. You must provide values for the basic minimum of parameters. Listed below are the parameters that are required for any payment method:
    • project_id—project ID you obtained from Rocketpay
    • payment_id—payment ID unique within the project
    • customer_id—the unique ID of the customer within your project
    • customer_email—customer email
    • customer_first_name—customer first name
    • customer_last_name—customer last name
    • payment_currency—payment currency in ISO-4217 alpha-3 format
    • payment_amount—payment amount in minor currency units without any decimal point or comma except for cases where the currency does not have any minor currency units. If the currency has no minor units (that is, the number of digits for minor currency units is zero), then you must set this parameter to the amount in the major currency units. For the information on whether the currency has any minor units, see Currency codes.
  2. The currency of payment can only be KZT.
  3. If you need to have payment form displayed with the Kassa24 method pre-selected, set the force_payment_method parameter to kassa24 in your request.
  4. If required, you can also add any other additional parameters Payment Page supports. For more information about parameters supported by Payment Page, see Payment Page invocation parameters.
  5. After you specify all the parameters you need, you must create the signature for the request. For instructions on how to sign a payment request, see Signature generation and verification.

Here is an example of data from a request for Payment Page opening:

EPayWidget.run(
    {
        project_id: 1234,
        payment_id: 'payment_47',
        customer_id: 'customer_123',
        customer_first_name: 'John',
        customer_last_name: 'Doe',
        customer_email: 'johndoe@example.com',
        payment_currency: 'KZT',
        payment_amount: 1000,    
        signature: "kUi2x9dKHAVNU0FYldJrxh4yo+52Kt8KU+Y19vySO\/RLUkDJrOcZzUCwX6R\/ekpZhkIQg=="
    }
)

For information about all parameters available in the Kassa24 method, see Payment Page invocation parameters.

Callback format

The Kassa24 method uses the standard format for callbacks to deliver purchase results. For more information about callbacks, see Callbacks in Payment Page.

The following is an example of a callback with the information about successful 500.00 KZT purchase in the 138 project.

Figure: Example of a successful purchase callback

 { 
        "customer": {
            "id": "eDTptbsRAow="
        },
        "operation_fee": {
            "amount": 0,
            "currency": "KZT"
        },
        "payment": {
            "date": "2019-10-12T15:27:17+0000",
            "id": "11",
            "method": "kassa24",
            "status": "success",
            "sum": {
                "amount": 50000,
                "currency": "KZT"
            },
            "type": "purchase",
            "description": ""
        },
        "project_id": 138,
        "phone": "123456789",
        "operation": {
            "id": 8416000007811,
            "type": "sale",
            "status": "success",
            "date": "2019-10-12T15:27:17+0000",
            "created_date": "2019-10-12T15:23:15+0000",
            "request_id": "4f375660191b0d4ef7933284b373041286489-00008417",
            "sum_initial": {
                "amount": 50000,
                "currency": "KZT"
            },
            "sum_converted": {
                "amount": 50000,
                "currency": "KZT"
            },
            "code": "0",
            "message": "Success",
            "provider": {
                "id": 1114,
                "payment_id": "86315380",
                "auth_code": "",
                "date": "2019-10-12T21:26:01+0000"
            }
        },
        "signature": "BJs+ZQ2nCWxumoyEFAISS6jL5rQ0qmnWmCBPAc8BpUDbiWA7Z8+kN9NcpvTgtTA=="

The following is the example of a callback for a purchase declined due to time-out.

Figure: Example of a declined purchase callback

 { 
        "customer": {
            "id": "eDTptbsRdas"
        },
        "operation_fee": {
            "amount": 0,
            "currency": "KZT"
        },
        "payment": {
            "date": "2019-10-12T15:27:17+0000",
            "id": "12",
            "method": "kassa24",
            "status": "decline",
            "sum": {
                "amount": 87900,
                "currency": "KZT"
            },
            "type": "purchase",
            "description": ""
        },
        "project_id": 138,
        "phone": "123456789",
        "operation": {
            "id": 8416000007811,
            "type": "sale",
            "status": "decline",
            "date": "2019-10-12T15:27:17+0000",
            "created_date": "2019-10-12T15:23:15+0000",
            "request_id": "4f375660191b0d4ef7933284b373041286489-00008418",
            "sum_initial": {
                "amount": 87900,
                "currency": "KZT"
            },
            "sum_converted": {
                "amount": 87900,
                "currency": "KZT"
            },
            "code": "20602",
            "message": "Time-out",
            "provider": {
                "id": 1114,
                "payment_id": "86315380",
                "auth_code": "",
                "date": "2019-10-12T21:26:01+0000"
            }
        },
        "signature": "BJs+ZQ2nCWxumoyEFAISS6jL5rQ0qmnWmCdsadqwDbiWA7Z8+kN9NcpvTgtTA=="

Related topics

The following topics might be useful when implementing payments by using Payment Page:

Testing

General information

For the Kassa24 method the testing of purchases by using Payment Page.

Testing can be performed within a test project, to enable and disable the testing availability, contact Rocketpay technical support via support@rocketpay.kz.

When performing a test payment, take into account that you must specify the identifier of the test project in the requests, the interfaces of the payment forms emulator of Payment Page and Kassa24 differ from the production environment.

Test payments statuses

When testing purchases, the final payment status is determined by the amount specified in the request:

  • decline status with 40000 or 40400 amount
  • success status with any other amount

Testing purchase by using Payment Page

To perform a test purchase by using Payment Page, do the following:

  1. Send a correct test request for Payment Page opening to the payment platform.
  2. If the kassa24 method was not specified in the request—select the method on the emulator page.
  3. Specify a random phone number in the data entry field.
  4. Make sure that the payment instructions are displayed.
  5. Accept a callback with information about the payment result (this callback is sent 10 seconds after the payment instructions page is generated).

The full information about purchase process by using Kassa24 through Payment Page is provided in the section Purchase by using Payment Page.

Analysis of payments results

As with other payment methods Rocketpay offers, when using this method, you have several options to analyze the information about payments and operations.

You can load and analyze all the necessary information in Dashboard (dashboard.rocketpay.kz), for instance you can use the analytic panels in the Analytics section for this purpose.

Also, you can export the information for further analysis by using third party analytical tools. The following options are available:

  • Dashboard allows you to download reports in CSV format by using the tools in the Reports section. You can perform export as a one-time or regular download of data to your local computer.
  • Data API allows you to have payment information exported in JSON format and delivered to a URL you specify. The payment information is exported by means of sending requests to the /operations/get endpoint.

If you have any further questions regarding payment data analysis, contact Rocketpay technical support.