PUT /service/payments/link/:linkId/enable
Enables link
Enables pay-by-link for specified link id
Path Parameters
- 200
- 401
- 404
pay-by-link enabled successfully
Schema
enabled: Link is active and can be used by customersdisabled: Link has been manually disabledconsumed: Single-use link that was successfully paid — permanently blockedexpired: Link has passed its expiration datesingle: Link can only be used once; transitions toconsumedafter a successful payment. A failed or abandoned payment releases the lock and allows a retry.multiple: Link can be reused indefinitely, subject to the expiration date.payment: Opens the payment dialogaccountInfo: Opens the account info dialog- Array [
- ]
Point of sale code
Possible values: [production, sandbox]
Environment processing the payment transaction. This can be either the sandbox or the production environment.
Possible values: [enabled, disabled, consumed, expired]
Current state of the pay-by-link:
RFC 3339 date time format (2007-11-06T16:34:41.000Z)
RFC 3339 date time format (2007-11-06T16:34:41.000Z)
RFC 3339 date time format (2007-11-06T16:34:41.000Z)
Possible values: [single, multiple]
Controls how many times the link can be used:
Possible values: [payment, accountInfo]
The dialog type shown when the link is opened:
Amount of transaction in format: 0.00 without thousand separator, exact to two decimal places.
NOTE: If amount is provided with more than two decimal places then amount will be rounded to two decimal paces.
ISO 4217 currency code.
Provider country code (ISO 3166 alpha-2 codes)
data object[]
Additional internal data to be stored alongside payment. This can be internal shopping basked id, customer profile id, or any other information to link payment to an internal process.
unique key of internally stored data. For instance basked_id, customer_id ...
value of internally stored data.
Two letter ISO 639-1 language/locale code.
RFC 3339 date time format (2007-11-06T16:34:41.000Z)
{
"id": "string",
"point_of_sale_code": 123456,
"environment": "production",
"state": "enabled",
"created": "2026-04-17T12:30:51.959Z",
"updated": "2026-04-17T12:30:51.959Z",
"expires_on": "2026-04-17T12:30:51.959Z",
"reuse": "single",
"type": "payment",
"name": "string",
"description": "string",
"amount": 12.3,
"currency": "EUR",
"country": "AT",
"data": [
{
"key": "customer_id",
"value": "external_id_1234"
}
],
"locale": "en",
"locked_until": "2026-04-17T12:30:51.959Z"
}
Unauthorized
Schema
Description of error
Possible values: [invalid_parameter, unauthorized, forbidden, not_found, not_allowed, not_acceptable, bad_request, other]
Error code of a specific error. For more details visit https://documentation.fliqa.io/api/errors/{errorCode}
Possible values: [api_key_secret_header_must_be_provided, authorization_header_must_be_provided, access_not_allowed, domain_not_allowed, access_token_expired, invalid_access_scope, invalid_access_environment, invalid_argument, invalid_meta_data, phone_number_invalid, email_invalid, email_or_phone_number_required, invalid_pin, unspecified]
Error sub code of a specific error. For more details visit https://documentation.fliqa.io/api/errors/{errorCode}#{errorSubCode}
Link to documentation if available, typically https://documentation.fliqa.io/api/errors/{errorCode}
Unique request id
Unique resource id
{
"errorMessage": "string",
"errorCode": "unauthorized",
"errorSubCode": "phone_or_email_not_registered",
"documentationUrl": "string",
"requestId": "554099e7d0b648d7b96bc31c148425b8",
"resourceId": "9c14c6f2f0ee4a54a280be3c18ec1dba"
}
{
"errorCode": "unauthorized",
"errorMessage": "Not authorized",
"documentationUrl": "https://documentation.fliqa.io/api/errors/unauthorized"
}
Point of sale not found
Schema
Description of error
Possible values: [invalid_parameter, unauthorized, forbidden, not_found, not_allowed, not_acceptable, bad_request, other]
Error code of a specific error. For more details visit https://documentation.fliqa.io/api/errors/{errorCode}
Possible values: [api_key_secret_header_must_be_provided, authorization_header_must_be_provided, access_not_allowed, domain_not_allowed, access_token_expired, invalid_access_scope, invalid_access_environment, invalid_argument, invalid_meta_data, phone_number_invalid, email_invalid, email_or_phone_number_required, invalid_pin, unspecified]
Error sub code of a specific error. For more details visit https://documentation.fliqa.io/api/errors/{errorCode}#{errorSubCode}
Link to documentation if available, typically https://documentation.fliqa.io/api/errors/{errorCode}
Unique request id
Unique resource id
{
"errorMessage": "string",
"errorCode": "unauthorized",
"errorSubCode": "phone_or_email_not_registered",
"documentationUrl": "string",
"requestId": "554099e7d0b648d7b96bc31c148425b8",
"resourceId": "9c14c6f2f0ee4a54a280be3c18ec1dba"
}
{
"errorCode": "not_found",
"errorMessage": "Can't find point of sale 'link_id'",
"documentationUrl": "https://documentation.fliqa.io/api/errors/not_found"
}