---
title: "Create Legacy Link"
method: POST
path: "/v1/links"
tags: ["Legacy Links"]
---

# Create Legacy Link

`POST /v1/links`

Creates a legacy link.

## Headers

- `Authorization` string, required

## Request body

- object
  - `data` object, required
    - `attributes` object, required
      - `amount` integer, required — Amount in the smallest currency unit.
      - `description` string, required — Description of the legacy link.
      - `remarks` string — Remarks attached to the legacy link.

## Response `200`

Legacy link created successfully.

- object
  - `data` object
    - `id` string, required — The unique identifier of the legacy link.
    - `type` string, required — Object type.
    - `attributes` object, required
      - `amount` integer, required
      - `archived` boolean, required
      - `currency` string, required
      - `description` string
      - `livemode` boolean, required
      - `fee` integer, required
      - `remarks` string
      - `status` string, required
      - `tax_amount` integer, nullable
      - `taxes` object[], required
      - `checkout_url` string, required
      - `reference_number` string, required
      - `created_at` integer, required — Creation timestamp (epoch).
      - `updated_at` integer, required — Last update timestamp (epoch).
      - `payments` object[], required

## Other responses

- `401` — Unauthorized.
- `500` — Internal server error.

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/revisions/c18f9a027b2c/schema)
