Search…
⌃K
🎁

Products

To enable the payment link creation process more interesting, merchants can now display their goods as Products without having a website.
You can interact (add, update, remove) with Products using Lazerpay Dashboard or our API which allows you to programmatically interact with your products.
Products can be created and seen on the dashboard more like a store inventory, They can be hidden when no longer available or for sale. There are no limitations as to the number of products you add on the products page as the pagination feature would help product data spread across different pages automatically.

Create Product

post
https://api.lazerpay.engineering/api/v1/products
Create a new product
After successful creation of a new product, you will be able to see it on your dashboard
You can add a Payment link and associate it with your Product using the Payment Links API and passing product_id as payload
Note :
  • Each product can be associated with multiple price tags and every price entry is recorded as its own separate entity in the database.
  • When creating a new standard link, there's option to tie that payment link to a specific price of the product or multiple pricing (array of price tags).
  • Since a pricing is tied to a product, tying a payment link to a pricing will therefore invaluably links the payment link to that product.
price_id --> product_id --> payment_link
"cart": [
{
"price_id": "4f6a2f7f-3400-4f47-8973-fa8bb2f5d483",
"quantity": 10,
"quantity_adjustable": false
}
]

Find Products

get
https://api.lazerpay.engineering/api/v1/products?network={}
{{network}}

Get Product

get
https://api.lazerpay.engineering/api/v1/products/:id
Get product by id

Update Product

put
https://api.lazerpay.engineering/api/v1/products/:id

Get Prices

get
https://api.lazerpay.engineering/api/v1/products/:id
Get prices of the products

Add Price

post
https://api.lazerpay.engineering/api/v1/products/:id/pricing
Add price to an existing product

Delete Price

delete
https://api.lazerpay.engineering/api/v1/products/:iprice_id
Delete price of an existing product

Delete Product

get
https://api.lazerpay.engineering/api/v1/products/:id
Delete an existing Product
Last modified 1mo ago