---
title: "Deprecated legal-entity coupon-payment alias"
method: POST
path: "/api/v1/legal_entity_applications/{id}/pay/coupon"
tags: ["Deprecated aliases"]
deprecated: true
---

# Deprecated legal-entity coupon-payment alias

`POST /api/v1/legal_entity_applications/{id}/pay/coupon`

## Request

- Base URL: `https://portal.eprospera.com`
- URL: `https://portal.eprospera.com/api/v1/legal_entity_applications/{id}/pay/coupon`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/eprospera/apis/e-pro-spera-api/docs/api/v1/legal_entity_applications/:id/pay/coupon/post.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Use `/api/v1/legal_entity_applications/{id}/pay/voucher` with `voucherCode` instead.

Account deactivation revokes personal API keys, including Agent Keys, and OAuth authorizations. Account reactivation requires new API keys, including new Agent Keys, and consent; previously issued credentials remain invalid.

## Path parameters

- `id` string, uuid, required

## Request body

- LegacyCouponPaymentRequest
  - `couponCode` string, required

## Response `200`

Coupon alias accepted.

- PaymentResponse
  - `data` object
  - `success` boolean
  - `message` string

## Other responses

- `400`: Validation error or precondition failure.
- `401`: Missing or invalid credential.
- `403`: Credential lacks the required scope (Agent Key) or insufficient OAuth scope.
- `404`: Resource does not exist or is invisible to the caller. The two are intentionally indistinguishable.
- `409`: Conflicting state (e.g. legal-entity name already taken).
- `429`: Rate limit exceeded. No `Retry-After` header is currently emitted; back off exponentially.
- `500`: Server error.

## Changes

- **2026-09-22** `d2c5a5cda002`: 7 info
  - added the optional property `code` to the response with the `400` status
  - added the optional property `code` to the response with the `401` status
  - added the optional property `code` to the response with the `403` status
  - added the optional property `code` to the response with the `404` status
  - …3 more

[Operation history](https://skmtc.dev/eprospera/apis/e-pro-spera-api/changes/api/v1/legal_entity_applications/:id/pay/coupon/post.md)

---

[API](https://skmtc.dev/eprospera/apis/e-pro-spera-api.md) - [All operations](https://skmtc.dev/eprospera/apis/e-pro-spera-api/llms.txt) - [OpenAPI document](https://skmtc.dev/eprospera/apis/e-pro-spera-api/revisions/271098460337?raw)
