Menu
Docs
Feedback
Login
You are viewing a section of Superface that will be
deprecated in Q4 2023
. Until then, you can continue to use it as you have before but we recommend that you migrate to our latest version soon. For more details visit
superface.ai/docs/migrate
.
Get Information About Products
payments/read-products@1.0.0
2 providers
List Products
ListProducts
Lists existing products in a payment system.
Result
Product ID
Name
Description
Product type
Integrate
1.
Choose a provider
Mock implementation
paypal
stripe
Request a missing provider
2.
Use
ListProducts
with
mock
in your code
Below instructions are for our Node.js SDK.
Use OneService for other languages.
npm
i
@superfaceai/one-sdk
Copy
Copied!
Copy
Copied!
Structure details
Result (list of objects)
productId
required
Unique identifier of the product the plan is for (if applicable).
string
name
optional
Name of the product.
string
description
optional
Description of the product.
string
type
optional
Indicates whether the product is physical or intangible (e.g. a service, or digital goods). Possible values: - `physical` - `digital` - `service`
enum
physical
digital
service
Example
Copy
Copied!
Implementation details
Provider
mock
Use case
ListProducts
Author
@superface
Source
View source
Verified