---
title: "Payment Hash Control"
method: POST
path: "/api/v1/payment/hash_control"
tags: ["Payments"]
---

# Payment Hash Control

`POST /api/v1/payment/hash_control`

Hash control api for payment you can check hash_data is correct or not

## Request body

- HashControlRequest
  - `application_key` string, required — It is the key of your application on our environment
  - `amount` integer, required — It must be send in integer format by multipliying original value with 100. For example 1 must be 100, 3.42 must be 342
  - `card_number` string, required — Card number that will use in payment. This data never stores at our database, application logs. It is only directed to payment system.
  - `hash_data` string, required — This is the calculated hash data for this sample payment request. BASE_64_ENCODE( SHA_256( APPLICATION_KEY + CARD_NUMBER + AMOUNT + SECRET_KEY ) )
  - `language` string — Its default value is tr. If you want to get messages in other languages, please send it. You can find supported languages in the api supported_languages.

## Response `200`

Successful Response

- HashControlResponse
  - `response_code` string — You will get 00 for successful response, otherwise another response code for the error. You can reach the list of response codes on the Response Codes Api
  - `message` string — Here is the explanation of response code
  - `hash_explanation` string — Explanation of how to calculate hash value
  - `hash_sample_key` string — This is the sample hash key for the secret key 12345678
  - `hash_sample_value` string — This is the sample hash value for the secret key 12345678

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/jetcheckout/apis/jet-checkout.md) · [All operations](https://skmtc.dev/jetcheckout/apis/jet-checkout/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jetcheckout/jet-checkout/revisions/b17a3806ccb0/schema)
