---
title: "POST /api/services/app/HISPayment/CreatePayment"
method: POST
path: "/api/services/app/HISPayment/CreatePayment"
tags: ["HISPayment"]
---

# POST /api/services/app/HISPayment/CreatePayment

`POST /api/services/app/HISPayment/CreatePayment`

## Request body

- CreatePaymentInput
  - `orderId` integer
  - `tmnCode` string, nullable
  - `orderType` 0 | 1 | 2 | 3 | 4 | 5 | 10 | 11 | 12 | 13
  - `paymentGateway` 0 | 1 | 2 | 3 | 99
  - `cashierRoomCode` string, nullable
  - `idBankAccount` integer, nullable
  - `amount` number, double
  - `orderInfo` string, nullable — Max length 256
  - `ipAddress` string, nullable — Max length 64
  - `returnUrl` string, nullable — Max length 2048
  - `locale` string, nullable — Max length 10
  - `genQRCode` boolean
  - `signature` string, nullable

## Response `200`

Success

- CreatePaymentOutput
  - `id` integer
  - `paymentUrl` string, nullable
  - `tmnCode` string, nullable
  - `isSandbox` boolean
  - `paymentPayload` string, nullable
  - `expirationDate` string, date-time, nullable
  - `message` string, nullable
  - `signature` string, nullable

---

[API](https://skmtc.dev/dalieu/apis/portaldalieu-api.md) · [All operations](https://skmtc.dev/dalieu/apis/portaldalieu-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dalieu/portaldalieu-api/revisions/78dcf1621c0e/schema)
