- create_calendar_link - Create a link
- create_payment_link - Create a link
- get_calendar_link - Retrieve a link
- get_payment_link - Retrieve a link
- list_calendar_links - List all links
- list_payment_links - List all links
- patch_calendar_link - Update a link
- patch_payment_link - Update a link
- remove_calendar_link - Remove a link
- remove_payment_link - Remove a link
- update_calendar_link - Update a link
- update_payment_link - Update a link
Create a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.create_calendar_link(request={
"calendar_link": {
"url": "https://misguided-thongs.info",
},
"connection_id": "<id>",
})
assert res.calendar_link is not None
# Handle response
print(res.calendar_link)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreateCalendarLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreateCalendarLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Create a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.create_payment_link(request={
"payment_link": {},
"connection_id": "<id>",
})
assert res.payment_link is not None
# Handle response
print(res.payment_link)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.CreatePaymentLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.CreatePaymentLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.get_calendar_link(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.calendar_link is not None
# Handle response
print(res.calendar_link)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetCalendarLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetCalendarLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Retrieve a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.get_payment_link(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res.payment_link is not None
# Handle response
print(res.payment_link)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.GetPaymentLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetPaymentLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all links
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.list_calendar_links(request={
"connection_id": "<id>",
})
assert res.calendar_links is not None
# Handle response
print(res.calendar_links)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListCalendarLinksRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListCalendarLinksResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
List all links
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.list_payment_links(request={
"connection_id": "<id>",
})
assert res.payment_links is not None
# Handle response
print(res.payment_links)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.ListPaymentLinksRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.ListPaymentLinksResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.patch_calendar_link(request={
"calendar_link": {
"url": "https://warm-hexagon.name/",
},
"connection_id": "<id>",
"id": "<id>",
})
assert res.calendar_link is not None
# Handle response
print(res.calendar_link)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchCalendarLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchCalendarLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.patch_payment_link(request={
"payment_link": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.payment_link is not None
# Handle response
print(res.payment_link)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.PatchPaymentLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.PatchPaymentLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Remove a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.remove_calendar_link(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemoveCalendarLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemoveCalendarLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Remove a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.remove_payment_link(request={
"connection_id": "<id>",
"id": "<id>",
})
assert res is not None
# Handle response
print(res)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.RemovePaymentLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.RemovePaymentLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.update_calendar_link(request={
"calendar_link": {
"url": "https://partial-hydrocarbon.info",
},
"connection_id": "<id>",
"id": "<id>",
})
assert res.calendar_link is not None
# Handle response
print(res.calendar_link)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdateCalendarLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdateCalendarLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |
Update a link
from unified_python_sdk import UnifiedTo
from unified_python_sdk.models import shared
with UnifiedTo(
security=shared.Security(
jwt="<YOUR_API_KEY_HERE>",
),
) as unified_to:
res = unified_to.link.update_payment_link(request={
"payment_link": {},
"connection_id": "<id>",
"id": "<id>",
})
assert res.payment_link is not None
# Handle response
print(res.payment_link)| Parameter | Type | Required | Description |
|---|---|---|---|
request |
operations.UpdatePaymentLinkRequest | ✔️ | The request object to use for the request. |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.UpdatePaymentLinkResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| errors.SDKError | 4XX, 5XX | */* |