Skip to main content
POST
Create Product

Authorizations

x-api-key
string
header
required

Merchant API Key

x-signature
string
header
required

Generated request signature

Body

application/json
referenceId
string
required

Your unique ID for the product. Send it as items[].productReferenceId when you create a billing session or subscription. Max 128 characters.

Maximum string length: 128
name
string
required

Product name. Used as the item name if the billing session or subscription item doesn't send one.

description
string

Product description. Used as the item description if the item doesn't send one.

price
number

Product price. In a billing session it replaces the item amount when isStaticQuotePrice is true.

currCode
string

Currency of price. Defaults to your settlement currency.

isStaticQuotePrice
boolean

If true, a billing session uses the product price instead of the amount in the request. Can only be set when you create the product.

isStaticQuotePrice can't be changed through Update Product, so set them when you create the product.

taxIncPrice
boolean

If true, price already includes tax. Needed for tax-inclusive billing sessions that use a fixed product price. Can only be set when you create the product.

taxIncPrice can't be changed through Update Product, so set them when you create the product.

availableStock
number

Units in stock. A billing session is rejected if the quantity is more than the stock (only when isStaticQuotePrice is false).

active
boolean

true makes the product usable. Inactive products are rejected in billing sessions and subscriptions.

shippable
boolean

true for physical goods. One billing session can't have both shippable and non-shippable products.

hsnCode
string

HSN code of the product. Sets the tax category for the product.Required if shippable is true

userTaxId
string

ID of the tax category used to calculate tax on this product.

isKycEnabled
boolean

If true, the customer must complete KYC before paying for this product.

thumbnail
string<uri>

Image URL. Used as the item image if the item doesn't send one.

images
string[]

List of image URLs. Used if there is no thumbnail and the item doesn't send an image.

meta
object
shippableData
object

If shippable is true then shippable data is mandatory

Response

200 - application/json

Contains the product object created.

status
string

The response from the API

sub_status
string

Used for internal purposes only

data
object

Contains the product object created.