Get Link
get
https://api.nomod.com/v1/links/{id}Retrieve link details by Id.
curl -X GET 'https://api.nomod.com/v1/links/:id' \
-H 'X-API-KEY: $NOMOD_API_KEY' \
-H 'Content-Type: application/json'Path parameters
idstring <uuid>requiredResponses
payment_block_reasonstringread-onlyCurrency-only payment block reason. currency_unavailable means the link or invoice is open for payment but its currency is inactive. null means no currency block applies, including objects whose checkout status is already closed. It is not a guarantee that other payment eligibility checks pass. The existing status, currency and amounts are unchanged.
Enum: currency_unavailable, null
idstring <uuid>requiredread-onlyreference_idstringrequiredread-onlytitlestringrequiredread-onlyurlstring <uri>requiredread-onlyamountstring <decimal>requiredread-onlycurrencystringrequiredstatusobjectrequiredread-onlydiscountstring <decimal>requiredread-onlyservice_feestring <decimal>requiredread-onlyallow_tipbooleanrequiredread-onlyshipping_address_requiredbooleanrequiredread-onlyitemsarrayrequiredtaxstring <decimal>requiredread-onlynotestringrequiredread-onlytaxesarrayrequiredread-onlydiscount_percentageintegerrequiredread-onlyservice_fee_percentagestring <decimal>requiredread-onlytipstring <decimal>requiredread-onlytip_percentageintegerrequiredread-onlydue_datestring <date-time>requiredread-onlycustom_fieldsarrayrequiredread-onlysourceobjectrequiredread-onlyallow_tabbybooleanrequiredread-onlyallow_tamarabooleanrequiredread-onlyallow_service_feebooleanrequiredread-onlypayment_expiry_limitintegerrequiredread-onlyexpiry_datestring <date>requiredread-onlyExample response
{
"payment_block_reason": "currency_unavailable",
"id": "00000000-0000-0000-0000-000000000000",
"reference_id": "string",
"title": "string",
"url": "https://example.com",
"amount": "0.00",
"currency": "string",
"status": "enabled",
"discount": "0.00",
"service_fee": "0.00",
"allow_tip": false,
"shipping_address_required": false,
"items": [
{
"id": "00000000-0000-0000-0000-000000000000",
"amount": "0.00",
"name": "string",
"total_amount": "0.00",
"quantity": 0,
"sku": "string"
}
],
"tax": "0.00",
"note": "string",
"taxes": [
{
"name": "string",
"mode": "string",
"mode_value": "0.000",
"value": "0.000"
}
],
"discount_percentage": 0,
"service_fee_percentage": "0.00",
"tip": "0.00",
"tip_percentage": 0,
"due_date": "2026-01-01T00:00:00Z",
"custom_fields": [
{
"name": "string",
"is_required": false
}
],
"source": "nomod_hosted",
"allow_tabby": false,
"allow_tamara": false,
"allow_service_fee": false,
"payment_expiry_limit": 0,
"expiry_date": "2026-01-01"
}