Create Payment Link

post/v1/payment-links

Request

  • Base URL
    https://api.sandbox.midtrans.com
  • URL
    https://api.sandbox.midtrans.com/v1/payment-links
  • Auth
    HTTP basic

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"
}

Changes

No recorded changes to this operation across all 1 revision of this API.