Create Payment Link
| 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
200Returns the created payment link.400Bad Request401Unauthorized402Payment Required403Forbidden404Not Found409Conflict500Internal 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"
}'