---
title: "createSamanPayment"
method: POST
path: "/api/saman-payments"
tags: ["saman-payment-resource"]
---

# createSamanPayment

`POST /api/saman-payments`

## Request body

- SamanPaymentDTO
  - `amount` number, required
  - `customerId` integer
  - `customerLogin` string
  - `hashedPan` string
  - `id` integer
  - `maskedPan` string
  - `merchantId` string, required
  - `planId` integer
  - `refNum` string
  - `resNum` string
  - `resNum1` string
  - `rrn` string, required
  - `state` string
  - `status` integer
  - `terminalId` string, required
  - `traceNumber` string
  - `wage` number

## Response `200`

OK

## Other responses

- `201` — Created
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.dev/ayriaclub/apis/ayria-api.md) · [All operations](https://skmtc.dev/ayriaclub/apis/ayria-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ayriaclub/ayria-api/revisions/097cded81400/schema)
