---
title: "Create Payment Link"
method: POST
path: "/v1/payment-links"
---

# Create Payment Link

`POST /v1/payment-links`

## Request body

- object
  - `transaction_details` object, required
    - `order_id` string, required
    - `gross_amount` integer, required
  - `usage_limit` integer, required
  - `customer_details` object

## Response `200`

200

- object
  - `order_id` string
  - `payment_url` string

## Other responses

- `400` — 400

---

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