---
title: "Creates a new payment request. Will return request id to check for transaction state and ergopay url to show the user as QR code"
method: POST
path: "/payment/addrequest"
tags: ["paymentPortal"]
---

# Creates a new payment request. Will return request id to check for transaction state and ergopay url to show the user as QR code

`POST /payment/addrequest`

## Request body

- CreatePaymentRequest
  - `nanoErg` integer, required
  - `tokenId` string
  - `tokenRawAmount` integer
  - `receiverAddress` string, required
  - `senderAddress` string
  - `message` string

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found
- `409` — Conflict

---

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