curl --request GET \
--url https://api.gigstack.io/v2/payments/links/operations/{operationId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gigstack.io/v2/payments/links/operations/{operationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gigstack.io/v2/payments/links/operations/{operationId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"id": "<string>",
"team_id": "<string>",
"livemode": true,
"status": "<string>",
"amount": 123,
"total": 123,
"url": "<string>",
"short_url": "<string>",
"owner": "<string>",
"created_at": 123,
"updated_at": 123,
"deleted_at": 123,
"revision": "<string>",
"effect_scope": "team_mode_payment_link",
"views": 1,
"historical_references": {
"invoices": [
"<string>"
],
"receipts": [
"<string>"
],
"unresolved_count": 1,
"authorization": "resolve_each_resource"
},
"items": [
{}
],
"currency": "<string>",
"exchange": 500000000,
"description": "<string>",
"metadata": {},
"limitDaysToPay": 1825,
"automations": [
{
"type": "invoice",
"from": "payments",
"ref": "payments",
"action": "create"
}
],
"custom_method_types": [
{
"id": "card"
}
]
},
"operation": {
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"team_id": "<string>",
"livemode": true,
"action": "create",
"payment_link_id": "<string>",
"status": "completed",
"completed_at": 123,
"revision": "<string>",
"effect_scope": "team_mode_payment_link"
}
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}Read payment-link operation
Reusable link configuration is a mode-specific resource. Saving does not create a payment, charge a provider, or stamp an invoice. Later payer use can create payments and run configured invoice automation. Current original credentials and payment-module authority are checked. Source/offline contract; no live provider validation is claimed. Read-only recovery. Historical completed receipt can have data:null. A 404 only means no matching receipt is currently readable; it is not proof a concurrent request never ran.
curl --request GET \
--url https://api.gigstack.io/v2/payments/links/operations/{operationId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.gigstack.io/v2/payments/links/operations/{operationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gigstack.io/v2/payments/links/operations/{operationId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"success": true,
"data": {
"id": "<string>",
"team_id": "<string>",
"livemode": true,
"status": "<string>",
"amount": 123,
"total": 123,
"url": "<string>",
"short_url": "<string>",
"owner": "<string>",
"created_at": 123,
"updated_at": 123,
"deleted_at": 123,
"revision": "<string>",
"effect_scope": "team_mode_payment_link",
"views": 1,
"historical_references": {
"invoices": [
"<string>"
],
"receipts": [
"<string>"
],
"unresolved_count": 1,
"authorization": "resolve_each_resource"
},
"items": [
{}
],
"currency": "<string>",
"exchange": 500000000,
"description": "<string>",
"metadata": {},
"limitDaysToPay": 1825,
"automations": [
{
"type": "invoice",
"from": "payments",
"ref": "payments",
"action": "create"
}
],
"custom_method_types": [
{
"id": "card"
}
]
},
"operation": {
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"team_id": "<string>",
"livemode": true,
"action": "create",
"payment_link_id": "<string>",
"status": "completed",
"completed_at": 123,
"revision": "<string>",
"effect_scope": "team_mode_payment_link"
}
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "invalid_request_body",
"message": "An error occurred"
},
"timestamp": 1767225600000
}Authorizations
Authentication Method: HTTP Bearer token.
The runtime requires the literal Bearer prefix — a bare token in the
Authorization header is rejected with 401 unauthorized.
Header Format: Authorization: Bearer YOUR_API_KEY
Your API key is a JWT. Live keys operate on live data (livemode: true);
test keys operate on isolated test data (livemode: false).
Get your key at: app.gigstack.pro/settings?tab=api
Errors: credential failures are answered by the authentication layer with a raw
{ "message": … } body, not the standardized envelope — 401 for a missing, malformed or
expired token, 403 for a revoked key or a plan without API access. See the Unauthorized
and AuthForbidden responses.
Path Parameters
Query Parameters
Selected authorized team; Firebase must match current authenticated team. Mode is current persisted preference or immutable credential mode.