| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

- **brandId**
- **uuid** (required)
- **externalReference**: string | null
- **amountInMinorUnits**: number (required)
- **purpose**: string (enum)
  - Defaults to PURCHASE
  - Allowed: `MERCHANT_TOPUP`, `PURCHASE`
- **expiresAt**: date-time | null
- **successUrl**: uri | null
- **failureUrl**: uri | null
- **cancelUrl**: uri | null
- **metadata**: object | null
- **billingAddress**: object
- **shippingAddress**: object
- **lineItems**: array of objects | null
- **accept**: string (enum)
  - Defaults to application/json
  - Allowed: `application/json`, `application/problem+json`

# Response Codes
- `200`      Returns the created payment link.
- `400`      Bad Request
- `401`      Unauthorized
- `402`      Payment Required
- `403`      Forbidden
- `404`      Not Found
- `409`      Conflict
- `500`      Internal Server Error

### Example cURL Request
```
curl --request POST \
     --url https://api.superpayments.com/2026-04-01/payment-links \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{
  "purpose": "PURCHASE"
}'
```

### Base URL
https://api.superpayments.com/2026-04-01/payment-links
