Skip to main content

Get Payment Links

GET /paymentlinks

This endpoint allows merchants to retrieve all payment links visible to the currently authenticated user. It returns a list of both pay-by-link and tokenize-by-link entries, including their current status and metadata.

Test URL

Send the request to the following URL:

https://checkout-api.staging.straumur.is/api/v1/paymentlinks?page=0&pageSize=100

Query Parameters

FieldTypeDescription
PageIntegerPage number (starts at 0)
PageSizeIntegerPage size (cannot be larger than 100)

Example Response

{
"data": [
{
"paymentLinkReference": "30001aylo2a",
"description": "Payment for PlayStation 2 HDMI Adapter.",
"amount": 20000,
"currency": "ISK",
"type": "PayByLink",
"createdAt": "2025-01-01T09:50:14.343503Z"
},
{
"paymentLinkReference": "30001aylo2b",
"description": "Tokenization for PlayStation 2 purchase.",
"amount": 0,
"currency": "ISK",
"type": "TokenizeByLink",
"createdAt": "2025-01-01T09:50:14.343503Z"
}
],
"totalCount": 2,
"responseDateTime": "2025-01-04T09:50:14.343503Z",
"responseIdentifier": "e3605f81-6b09-4ce1-83ad-5a8d49f3cd44"
}

Response Fields

FieldTypeDescriptionExample
dataArrayArray of payment link objects-
totalCountIntegerThe total count of all items available.2
responseDateTimeStringThe date and time when the response was generated.2024-09-04T09:50:14.343503Z
responseIdentifierStringThe unique identifier for the response.7be7111c-2e8e-4cd4-a5ba-f15bdfd177c1
FieldTypeDescriptionExample
paymentLinkReferenceStringUnique reference for the payment link30001aylo2a
descriptionStringDescription of the payment linkcool tokenization link really
amountIntegerPayment amount in minor units0
currencyStringThree-character ISO currency codeISK
typeStringType of payment link (PayByLink/TokenizeByLink)TokenizeByLink
createdAtStringWhen the payment link was created2025-01-01T09:50:14.343503Z

Error Response

Error responses are standardized. For details, see Errors.

You can also find a detailed overview of our HTTP Status Codes.