Vatly
Python SDK

API reference

Look up SDK methods, HTTP endpoints and return types for synchronous and asynchronous clients.

Generated from openapi.yaml. Sync and async clients expose the same methods. Pass a Pydantic request/params model or a wire-format dictionary. All methods accept keyword-only options=RequestOptions(...).

checkouts

MethodHTTP endpointReturns
list(params=None)GET /checkoutsPage[Checkout]
create(body)POST /checkoutsCheckout
get(checkout_id)GET /checkouts/{checkoutId}Checkout

customers

MethodHTTP endpointReturns
list(params=None)GET /customersPage[Customer]
create(body)POST /customersCustomer
get(customer_id)GET /customers/{customerId}Customer
update(customer_id, body)PATCH /customers/{customerId}Customer
create_portal_session(customer_id, body)POST /customers/{customerId}/portal-sessionsPortalSession
list_subscriptions(customer_id, params=None)GET /customers/{customerId}/subscriptionsPage[Subscription]
get_subscription(customer_id, subscription_id)GET /customers/{customerId}/subscriptions/{subscriptionId}Subscription

one_off_products

MethodHTTP endpointReturns
list(params=None)GET /one-off-productsPage[OneOffProduct]
create(body)POST /one-off-productsOneOffProduct
get(one_off_product_id)GET /one-off-products/{oneOffProductId}OneOffProduct
update(one_off_product_id, body)PATCH /one-off-products/{oneOffProductId}OneOffProduct
archive(one_off_product_id)POST /one-off-products/{oneOffProductId}/archiveNone
unarchive(one_off_product_id)DELETE /one-off-products/{oneOffProductId}/archiveOneOffProduct

subscription_plans

MethodHTTP endpointReturns
list(params=None)GET /subscription-plansPage[SubscriptionPlan]
create(body)POST /subscription-plansSubscriptionPlan
get(subscription_plan_id)GET /subscription-plans/{subscriptionPlanId}SubscriptionPlan
update(subscription_plan_id, body)PATCH /subscription-plans/{subscriptionPlanId}SubscriptionPlan
archive(subscription_plan_id)POST /subscription-plans/{subscriptionPlanId}/archiveNone
unarchive(subscription_plan_id)DELETE /subscription-plans/{subscriptionPlanId}/archiveSubscriptionPlan

orders

MethodHTTP endpointReturns
list(params=None)GET /ordersPage[Order]
get(order_id)GET /orders/{orderId}Order
create_invoice_update_link(order_id)POST /orders/{orderId}/invoice-update-linkInvoiceUpdateLink
list_refunds(order_id, params=None)GET /orders/{orderId}/refundsPage[Refund]
create_refund(order_id, body)POST /orders/{orderId}/refundsRefund
create_full_refund(order_id, body)POST /orders/{orderId}/refunds/fullRefund
get_refund(order_id, refund_id)GET /orders/{orderId}/refunds/{refundId}Refund
cancel_refund(order_id, refund_id)DELETE /orders/{orderId}/refunds/{refundId}None
list_chargebacks(order_id, params=None)GET /orders/{orderId}/chargebacksPage[Chargeback]
get_chargeback(order_id, chargeback_id)GET /orders/{orderId}/chargebacks/{chargebackId}Chargeback

refunds

MethodHTTP endpointReturns
list(params=None)GET /refundsPage[Refund]
get(refund_id)GET /refunds/{refundId}Refund

chargebacks

MethodHTTP endpointReturns
list(params=None)GET /chargebacksPage[Chargeback]
get(chargeback_id)GET /chargebacks/{chargebackId}Chargeback

webhook_events

MethodHTTP endpointReturns
get(event_id)GET /webhook-events/{eventId}WebhookEvent

webhook_endpoints

MethodHTTP endpointReturns
list(params=None)GET /webhook-endpointsPage[WebhookEndpoint]
create(body)POST /webhook-endpointsWebhookEndpoint
get(webhook_endpoint_id)GET /webhook-endpoints/{webhookEndpointId}WebhookEndpoint
update(webhook_endpoint_id, body)PATCH /webhook-endpoints/{webhookEndpointId}WebhookEndpoint
delete(webhook_endpoint_id)DELETE /webhook-endpoints/{webhookEndpointId}None

subscriptions

MethodHTTP endpointReturns
list(params=None)GET /subscriptionsPage[Subscription]
get(subscription_id)GET /subscriptions/{subscriptionId}Subscription
update(subscription_id, body)PATCH /subscriptions/{subscriptionId}Subscription
cancel(subscription_id, params=None)DELETE /subscriptions/{subscriptionId}None
create_billing_update_link(subscription_id, body)POST /subscriptions/{subscriptionId}/billing-update-linkCreateSubscriptionBillingUpdateLinkResponse
resume(subscription_id)POST /subscriptions/{subscriptionId}/resumeSubscription

test_helpers

MethodHTTP endpointReturns
fast_forward_renewal(subscription_id, body)POST /test-helpers/subscriptions/{subscriptionId}/fast-forward-renewalSubscription
simulate_order_payment(order_id, body)POST /test-helpers/orders/{orderId}/simulate-paymentOrder
Copyright © 2026