---
title: "Get the payment link for a transaction"
method: POST
path: "/transactions/{id}/token"
---

# Get the payment link for a transaction

`POST /transactions/{id}/token`

## Path parameters

- `id` integer, required

## Response `200`

Payment link generated successfully.

- object
  - `token` string — The generated payment token.
  - `url` string — The payment link URL.

## Other responses

- `404` — Transaction not found.

---

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