Productsproducts
HelpStatusOpen portal

Products

A product is what you sell on a payment plan: its price, the plan terms you offer, and the down payment you ask for. Orders and payment links are both created from a product, so keep products current and everything downstream follows.

productsQuery

List your products with cursor pagination. Filter by name, status, cadence, route, price ranges, term lengths and creation date.

By default you get your undeleted products with status ACTIVE, the ones that can be sold right now. Set status to PAUSED or ALL for the others. Deleted products are left out unless you set includeDeleted to true, which includes them whatever the status, so the ids on old orders can still be resolved.

POST/graphql

products(input: ProductsInput): ProductConnection!

Arguments

NameTypeDescription
input.firstIntPage size, 1–100. Defaults to 25.
input.afterStringThe endCursor from the previous page. Omit it for the first page.
input.nameStringProducts whose name contains this text.
input.statusProductStatusFilter undeleted products by status: ACTIVE, PAUSED or ALL. Defaults to ACTIVE.
input.includeDeletedBooleanAlso include deleted products, regardless of status. Defaults to false.
input.frequencies[ProductPaymentFrequency!]Only products billed on these cadences.
input.productIds[ID!]Only these products.
input.routes[ProductRoute!]Filter by credit approval route. INVALID selects an invalid or missing stored route.
input.minimumPriceMinFloatMinimum price at least this, in USD.
input.minimumPriceMaxFloatMinimum price at most this, in USD.
input.priceMinFloatSticker price at least this, in USD.
input.priceMaxFloatSticker price at most this, in USD.
input.fundingTerms[Int!]Products offering any of these funding terms (months).
input.pacTerms[Int!]Products offering any of these pay-as-collected terms.
input.createdAtFromStringCreated on or after. A date (YYYY-MM-DD or YYYYMMDD) starts at midnight America/Chicago, including daylight saving time changes. A full ISO 8601 timestamp (e.g. 2026-11-14T10:30:00Z) is used as is; without an offset it is UTC.
input.createdAtToStringCreated on or before. A date (YYYY-MM-DD or YYYYMMDD) includes the whole day in America/Chicago, including daylight saving time changes. A full ISO 8601 timestamp (e.g. 2026-11-14T10:30:00Z) is used as is; without an offset it is UTC.
input.sortByProductSortFieldCREATED_AT, NAME or MINIMUM_PRICE. Defaults to CREATED_AT.
input.sortDescBooleanDescending when true. Defaults to true: newest, largest or Z to A first.

Returns

FieldTypeDescription
totalCountInt!How many products match your filter, across every page.
pageInfoPageInfo!hasNextPage tells you whether to keep going; endCursor is what you pass as after.
edges[].nodeProductOne Product per edge, with its cursor beside it. The Product fields follow.

Each Product node

FieldTypeDescription
idID!The product id. Pass it to product, updateProduct, deleteProduct and createPaymentLink.
nameString!The product name.
descriptionStringYour description of the product. It isn’t shown on the checkout page, but a product link uses it as the preview text when the link is shared, for example in a text message or on social media.
priceFloatThe sticker price, in USD.
minimumPriceFloatThe lowest price a checkout may use, in USD. Null when none is set.
downPaymentFloatAn initial payment the customer makes to Payva at checkout, in USD.
frequencyProductPaymentFrequencyThe billing cadence: DAILY, WEEKLY, BIWEEKLY or MONTHLY.
fundingTerms[Int!]!The funding term lengths offered, in months.
pacTerms[Int!]!The pay-as-collected term lengths offered.
isActiveBooleanWhether the product can be sold right now. Never null on reads. Deleted products are always inactive.
isDeletedBoolean!True once deleted. Included in product listings only when requested, and still referenced by orders. No longer editable or sellable.
routeProductRoute!The credit approval routes this product allows at checkout. INVALID when the stored route is not valid. Values below.
productImageUrlStringThe product image shown at checkout.
redirectUrlStringWhere the customer is sent after checkout. Always an https URL.
createdAtStringWhen the product was created, a timestamp.

Example

query Products($input: ProductsInput) {
  products(input: $input) {
    totalCount
    edges { node { id name price minimumPrice frequency fundingTerms isActive isDeleted } }
  }
}
Variables
{
  "input": {
    "first": 3,
    "status": "ACTIVE"
  }
}
Response
{
  "data": {
    "products": {
      "totalCount": 12,
      "edges": [
        {
          "node": {
            "id": "501",
            "name": "Studio membership, 12 months",
            "price": 10000,
            "minimumPrice": 1500,
            "frequency": "MONTHLY",
            "fundingTerms": [
              3,
              6,
              12
            ],
            "isActive": true,
            "isDeleted": false
          }
        }
      ]
    }
  }
}

productQuery

Fetch one product by id, with every attribute. Null when the id isn’t found on your account or is a legacy product.

Use it when you hold a product id from an order or a payment link and need the full record, including fields the list omits from its example. Deleted products still resolve, flagged isDeleted.

POST/graphql

product(id: ID!): Product

Arguments

NameTypeDescription
idID!requiredThe product id. Legacy product ids return null.

Returns

FieldTypeDescription
idID!The product id.
nameString!The product name.
descriptionStringYour description of the product. It isn’t shown on the checkout page, but a product link uses it as the preview text when the link is shared, for example in a text message or on social media.
priceFloatThe sticker price, in USD.
minimumPriceFloatThe lowest price a checkout may use, in USD. Null when none is set.
downPaymentFloatAn initial payment the customer makes to Payva at checkout, in USD.
frequencyProductPaymentFrequencyThe billing cadence.
fundingTerms[Int!]!Funding term lengths offered, in months.
pacTerms[Int!]!Pay-as-collected term lengths offered.
isActiveBooleanWhether the product can be sold. Never null on reads.
isDeletedBoolean!True once deleted.
routeProductRoute!The credit approval routes this product allows at checkout. INVALID when the stored route is not valid. Values under products.
productImageUrlStringThe product image.
redirectUrlStringThe post-checkout redirect. Always an https URL.
createdAtStringWhen the product was created, a timestamp.

Example

query Product($id: ID!) {
  product(id: $id) {
    id name description price minimumPrice
    downPayment frequency fundingTerms pacTerms route isActive isDeleted
  }
}
Variables
{
  "id": "501"
}
Response
{
  "data": {
    "product": {
      "id": "501",
      "name": "Studio membership, 12 months",
      "description": "Unlimited classes, billed monthly",
      "price": 10000,
      "minimumPrice": 1500,
      "downPayment": 0,
      "frequency": "MONTHLY",
      "fundingTerms": [
        3,
        6,
        12
      ],
      "pacTerms": [],
      "route": "UPFRONT_ONLY",
      "isActive": true,
      "isDeleted": false
    }
  }
}

createProductMutation

Create a product. Name and price are required, and amounts are in USD. price and minimumPrice must each be at least 500 and at most your account maximum (30,000 unless Payva has set another for you). Returns the new product.

Available to merchants who sell directly with Payva. If you only sell through a partner platform, this isn’t available to you and the call returns FORBIDDEN.

POST/graphql

createProduct(input: CreateProductInput!): Product!

Arguments

NameTypeDescription
input.nameString!requiredThe product name. Cannot be empty.
input.priceFloat!requiredThe sticker price, in USD. At least 500; at most your account maximum.
input.descriptionStringYour description of the product. It isn’t shown on the checkout page, but a product link uses it as the preview text when the link is shared, for example in a text message or on social media.
input.minimumPriceFloatThe lowest price a checkout may use, in USD. At least 500; at most your account maximum. Defaults to the sticker price, and must not exceed it.
input.downPaymentFloatAn initial payment the customer makes to Payva at checkout, in USD.
input.fundingTerms[Int!]Funding term lengths to offer, in months, e.g. [3, 6, 12].
input.pacTerms[Int!]Pay-as-collected term lengths to offer.
input.isActiveBooleanWhether it can be sold straight away. Defaults to true.
input.routeProductRoute!requiredThe credit approval routes the product allows. Must be one your account allows.
input.productImageUrlStringAn image URL shown at checkout.
input.redirectUrlStringWhere to send the customer after checkout. An absolute HTTPS URL only; query parameters are passed along. IP literal ranges are not filtered.

Returns

FieldTypeDescription
idID!The new product's id.
nameString!The product name.
priceFloatThe sticker price, in USD.
minimumPriceFloatThe minimum price, in USD, when set.
downPaymentFloatAn initial payment the customer makes to Payva at checkout, in USD.
routeProductRoute!The routes the product allows.
isActiveBooleanWhether it can be sold.
createdAtStringWhen the product was created, a timestamp.

Example

mutation CreateProduct($input: CreateProductInput!) {
  createProduct(input: $input) {
    id name price minimumPrice downPayment route isActive createdAt
  }
}
Variables
{
  "input": {
    "name": "Coaching program, 6 months",
    "price": 3000,
    "minimumPrice": 1500,
    "downPayment": 500,
    "fundingTerms": [
      3,
      6,
      12
    ],
    "route": "AUTOROUTE"
  }
}
Response
{
  "data": {
    "createProduct": {
      "id": "503",
      "name": "Coaching program, 6 months",
      "price": 3000,
      "minimumPrice": 1500,
      "downPayment": 500,
      "route": "AUTOROUTE",
      "isActive": true,
      "createdAt": "2026-07-21T15:12:00Z"
    }
  }
}

updateProductMutation

Update a product. Every field is optional: send only what changes. Amounts are in USD. Returns the updated product.

Available to merchants who sell directly with Payva. If you only sell through a partner platform, this isn’t available to you and the call returns FORBIDDEN.

A price below 500 or above your account maximum is refused with INVALID_REQUEST. A product already priced above the maximum can keep or lower that price, but not raise it. minimumPrice must not exceed the sticker price, whether you change one or both. minimumPrice and isActive cannot be null: omit them to leave them unchanged. A redirectUrl that is invalid, non-HTTPS, credentialed, single-label or a blocked host is refused. IP literal ranges are not filtered. A legacy or deleted product cannot be updated; you get NOT_FOUND. To pause sales without deleting, set isActive to false. Omitting route keeps the current route; route cannot be null.

POST/graphql

updateProduct(id: ID!, input: UpdateProductInput!): Product!

Arguments

NameTypeDescription
idID!requiredThe product to update. Legacy products return NOT_FOUND.
input.nameStringA new name. Cannot be empty.
input.descriptionStringA new description.
input.priceFloatA new sticker price. At least 500; at most your account maximum. A product already above the maximum may keep or lower its price, not raise it.
input.minimumPriceFloatA new minimum price, in USD. Same limits as price. Must not exceed the sticker price. Omit it to leave it unchanged. Cannot be null.
input.downPaymentFloatAn initial payment the customer makes to Payva at checkout, in USD.
input.fundingTerms[Int!]Funding term lengths, in months.
input.pacTerms[Int!]Pay-as-collected term lengths.
input.isActiveBooleanPause (false) or resume (true) sales. Omit it to leave it unchanged. Cannot be null.
input.routeProductRouteNew credit approval routes. Must be one your account allows. Omit it to keep the current route. Cannot be null: null is refused with INVALID_REQUEST.
input.productImageUrlStringAn image URL.
input.redirectUrlStringThe post-checkout redirect. An absolute HTTPS URL only; query parameters are passed along. IP literal ranges are not filtered.

Returns

FieldTypeDescription
idID!The product id.
nameString!The product name.
priceFloatThe sticker price, in USD.
minimumPriceFloatThe minimum price, in USD, when set.
isActiveBooleanWhether it can be sold.

Example

mutation UpdateProduct($id: ID!, $input: UpdateProductInput!) {
  updateProduct(id: $id, input: $input) {
    id name price minimumPrice isActive
  }
}
Variables
{
  "id": "501",
  "input": {
    "price": 12000,
    "isActive": true
  }
}
Response
{
  "data": {
    "updateProduct": {
      "id": "501",
      "name": "Studio membership, 12 months",
      "price": 12000,
      "minimumPrice": 1500,
      "isActive": true
    }
  }
}

deleteProductMutation

Delete a product. Legacy product ids return NOT_FOUND. A deleted product can no longer be edited or used for new checkouts or payment links, but stays available in your products list when includeDeleted is true, flagged isDeleted, and stays attached to existing orders. Returns true.

Available to merchants who sell directly with Payva. If you only sell through a partner platform, this isn’t available to you and the call returns FORBIDDEN.

Prefer isActive: false when you only want to stop selling for a while. Deletion is permanent and orders already on the product keep their link to it.

POST/graphql

deleteProduct(id: ID!): Boolean!

Arguments

NameTypeDescription
idID!requiredThe product to delete. Legacy products return NOT_FOUND.

Returns

FieldTypeDescription
deleteProductBoolean!True when the product was deleted.

Example

mutation DeleteProduct($id: ID!) {
  deleteProduct(id: $id)
}
Variables
{
  "id": "503"
}
Response
{
  "data": {
    "deleteProduct": true
  }
}

Types

ProductPaymentFrequencyEnum

ValueMeaning
DAILYEvery day.
WEEKLYEvery week.
BIWEEKLYEvery two weeks.
MONTHLYEvery month.

ProductRouteEnum

The credit approval routes a product allows at checkout: the route field and the route input on createProduct and updateProduct. See How an order gets its route for what each one does. Your account's route settings decide which you can set. Any other is refused with INVALID_REQUEST, and the message lists the ones you can use.

ValueMeaning
AUTOROUTEUPFRONT or PAC: the credit decision at checkout picks the route.
PAC_ONLYPAC only: you are paid out as each customer payment comes in.
UPFRONT_ONLYUPFRONT only: you are paid out upfront.
INVALIDThe stored product route is not valid. Rejected on mutations.

ProductStatusEnum

The status filter on products.

ValueMeaning
ACTIVESellable products (the default).
PAUSEDProducts paused for sale.
ALLActive and paused products.

ProductSortFieldEnum

ValueMeaning
CREATED_ATWhen the product was created (the default).
NAMEThe product name.
MINIMUM_PRICEThe minimum price.