---
title: "Subscription Request Epay"
method: POST
path: "/api/subscription/epay/pay"
tags: ["SubscriptionPayment"]
---

# Subscription Request Epay

`POST /api/subscription/epay/pay`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/subscription/epay/pay`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Request body

- SubscriptionEpayPayRequest: SubscriptionEpayPayRequest schema
  - `payment_method` string, required
  - `plan_id` integer, required

## Response `200`

OK

- ResponseDtoEpayPayResponse: Response_dto.EpayPayResponse schema
  - `data` EpayPayResponse, required
    - `params` unknown, required
    - `url` string, required
  - `message` string, required
  - `success` boolean, required

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
