Skip to main content

List Paylinks

GET https://paylinks.uqualify.co.uk/api/v1/paylinks

The List Paylinks endpoint allows you to retrieve a comprehensive list of all pay links created within your organization on the Uqualify platform. Use this endpoint to efficiently manage and review all the payment links you have generated, ensuring they align with your business needs.

info

Paylinks are created automatically when a plan is created. Each plan has a corresponding paylink that can be used to facilitate payments.

Query Parameters

ParameterTypeDescription
afterstringReturn paylinks after this cursor for pagination.
beforestringReturn paylinks before this cursor for pagination.
limitintegerThe maximum number of paylinks to return per page (1-100).
pageintegerThe page number of the results to return (≥ 1).
sincestringReturn paylinks created or updated since this timestamp.
sortstringSort order for the results.
untilstringReturn paylinks created or updated until this timestamp.

Example Request

curl --request GET \
--url https://paylinks.uqualify.co.uk/api/v1/paylinks \
--header 'X-API-KEY: API-KEY \
--header 'accept: application/json'

Responses

FieldTypeDescription
dataobjectThe data object containing the paylinks.
data.itemsobjectAn array of paylink objects.
data.items.idstringThe unique identifier for the paylink.
data.items.plan_idstringThe ID of the associated plan.
data.items.invoice_idstringThe ID of the associated invoice.
data.items.sourcestringThe source of the paylink.
data.items.customer_ident_collectionbooleanIndicates if customer identification collection is enabled.
data.items.shipping_address_collectionbooleanIndicates if shipping address collection is enabled.
data.items.tax_ident_collectionbooleanIndicates if tax identification collection is enabled.
data.items.enabledbooleanIndicates if the paylink is enabled.
data.items.deleted_atdate-timeThe timestamp when the paylink was deleted.
data.items.created_bystringThe ID of the user who created the paylink.
data.items.updated_bystringThe ID of the user who last updated the paylink.
data.items.created_atdate-timeThe timestamp when the paylink was created.
data.items.updated_atdate-timeThe timestamp when the paylink was last updated.
data.items.metadataobjectAdditional metadata associated with the paylink.
data.items.metadata.propertiesobjectAdditional properties associated with the paylink.
data.items.planobjectThe details of the associated plan.
data.last_updatestringThe timestamp indicating when the data was last updated.
data.nextintegerThe index of the next page of paylinks.
data.totalintegerThe total number of paylinks available.
errorbooleanIndicates if there was an error.
{
"data": {
"items": [
{
"id": "2Z4zsnmp37AF3WKM6N2j4wmeakr",
"plan_id": "2Z4zspFMhs2pMYjcR3l6JpJaWdA",
"invoice_id": "",
"source": "BoomFi",
"customer_ident_collection": false,
"shipping_address_collection": false,
"tax_ident_collection": false,
"enabled": true,
"deleted_at": "2023-12-04T13:25:48.499Z",
"created_by": "2TzGhPCAfFWLPBjtc6h52Aao2S6",
"updated_by": "",
"created_at": "2023-12-04T13:25:48.496Z",
"updated_at": "2023-12-04T13:25:48.499Z",
"metadata": {},
"properties": {
"short_code": "AANj9Dm7Zl"
},
"plan": {
"id": "2Z4zspFMhs2pMYjcR3l6JpJaWdA",
"org_id": "2Tpmnmh6GHJXumKN1oBy2u56Ima",
"source": "Lago",
"name": "test paylink 12 04",
"type": "OneTime",
"billing_scheme": "FlatFee",
"price": "1",
"currency": "USD",
"available_quantity": 0,
"trial_period": "",
"recurring_interval": "Unknown",
"recurring_interval_count": 1,
"recurring_usage_type": "Unknown",
"reference": "",
"enabled": true,
"v1": "eyJwbGFucyI6IHsiaWQiOiAiYWE1ZmI5MjQtMmMzZi00NzcwLTkyZDEtMjFjYmY3ODc3ODc2IiwgIm5hbWUiOiAidGVzdCBwYXlsaW5rIDEyIDA0IiwgInN0YXR1cyI6ICJhY3RpdmUiLCAiaW50ZXJ2YWwiOiBudWxsLCAicmVmZXJlbmNlIjogIiIsICJhbW91bnRfd2VpIjogIjEwMCIsICJjcmVhdGVkX2F0IjogIjIwMjMtMTI...",
"created_by": "2TzGhPCAfFWLPBjtc6h52Aao2S6",
"created_at": "2023-12-04T13:25:47.656Z",
"updated_at": "2023-12-04T13:25:48.491Z",
"deleted_at": null,
"metadata": {}
}
}
],
"last_update": "2021-01-01T00:00:00Z",
"next": 10,
"total": 10
},
"error": true
}