Vatly
Api Reference

One-off Products

On this page, we'll dive into the different one-off product endpoints you can use to query your products programmatically.

A one-off product is a digital product that can be bought once. Products are configured in the Vatly dashboard and can be added to checkouts.

Looking for subscription plans? See the Subscription Plans API instead.

The one-off product model

Below you'll find all properties for the Vatly One-off Product API resource.

Properties

NameTypeDescription
idstringUnique identifier for the product (starts with prod_).
resourcestringThe resource type. Always one_off_product.
testmodebooleanWhether this product is in test mode.
namestringDisplay name of the product.
descriptionstringDetailed description of the product.
basePriceMoneyDefault price of the product. A Money object with value (decimal string) and currency (ISO 4217 code). Can be overridden in checkout.
statusstringCurrent status of the product. Can be approved (active and can be purchased), draft (not yet available), or archived (has been archived).
createdAtstringWhen this product was created (ISO 8601 format).
linksobjectHATEOAS links to related resources. Contains self link.

List all one-off products

GET /v1/one-off-products

This endpoint retrieves a paginated list of all one-off products.

Optional parameters

NameTypeDescription
limitintegerThe number of products to return (default: 10, max: 100).
startingAfterstringA cursor for use in pagination. Returns results after this product ID.
endingBeforestringA cursor for use in pagination. Returns results before this product ID.
curl -G https://api.vatly.com/v1/one-off-products \
  -H "Authorization: Bearer live_your_api_key_here" \
  -d limit=10

Get a specific one-off product

GET /v1/one-off-products/:id

This endpoint retrieves a specific one-off product by its ID.

Parameters

NameTypeDescription
idstringThe ID of the one-off product to retrieve.
curl https://api.vatly.com/v1/one-off-products/prod_abc123def456 \
  -H "Authorization: Bearer live_your_api_key_here"
Copyright © 2026