---
title: "Payment Hash"
method: POST
path: "/api/v1/embedded/payment-hash/{session_id}"
tags: ["Embedded Checkout"]
---

# Payment Hash

`POST /api/v1/embedded/payment-hash/{session_id}`

Generate payment hash for a hosted checkout session without exposing merchant secret.

## Path parameters

- `session_id` string, required

## Headers

- `x-browser-token` string, required

## Request body

- EmbeddedNativeHashRequest
  - `merchant_api_key` string — Merchant API key from Paylox
  - `acquirer_id` integer — Escrow payment acquirer ID
  - `payment_type` string — Payment type
  - `amount` union, required — Amount in minor units
    - integer
    - string
  - `card_number` string — Card number
  - `card_token` string — Saved card token
  - `order_id` string — Order identifier

## Response `200`

Successful Response

- unknown

## 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)
