v1

latestOpenAPI 3.1.02026-07-263847150.4 KB

Create Payment Link

post/v1/payment-links

Request body

usage_limitinteger required
customer_detailsobject

Response

200

order_idstring
payment_urlstring

Example response

{
  "order_id": "concert-ticket-05",
  "payment_url": "https://app.sandbox.midtrans.com/payment-links/amazing-ticket-payment-123"
}