Fetch Payment Link

Retrieve details for a specific payment link by its ID.

Endpoint

GET /api/payment-links/{payment_link_id}

Path Parameters

ParameterTypeRequiredDescription
payment_link_idstringYesThe unique identifier for the payment link

Response

Returns the payment link object.
{
  "id": "pl_123456789",
  "url": "https://checkout.devdraft.ai/pl_123456789",
  "amount": 100.00,
  "currency": "USD",
  "description": "Product purchase",
  "status": "active",
  "created_at": "2023-01-01T00:00:00Z"
}