API Documentation & SDKs
- Introduction
- Code Integration Tutorial
- SDKs - Node, Python, PHP, Go, Ruby, Java & Kotlin
- Payments Integration Guide
- Subscription Integration Guide
- Mobile Integration Guide
- On Demand Subscriptions
- Webhooks Details
- Managing Products Via API
- Metadata Guide
- Configuring Allowed Payment Methods
- MCP Server
- Technical - FAQs
Subscriptions
Discounts
Licenses
Customers
Products
Payouts
Miscellaneous
Addons
List Addons
Retrieve a comprehensive list of all available addons
GET
/
addons
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
apiKey: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
async function main() {
// Automatically fetches more pages as needed.
for await (const addonResponse of client.addons.list()) {
console.log(addonResponse.id);
}
}
main();
{
"items": [
{
"business_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"currency": "AED",
"description": "<string>",
"id": "<string>",
"image": "<string>",
"name": "<string>",
"price": 123,
"tax_category": "digital_products",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Page size default is 10 max is 100
Required range:
x >= 0
Page number default is 0
Required range:
x >= 0
Response
200 - application/json
List all addons
Unique identifier for the business to which the addon belongs.
Created time
Available options:
AED
, ALL
, AMD
, ANG
, AOA
, ARS
, AUD
, AWG
, AZN
, BAM
, BBD
, BDT
, BGN
, BHD
, BIF
, BMD
, BND
, BOB
, BRL
, BSD
, BWP
, BYN
, BZD
, CAD
, CHF
, CLP
, CNY
, COP
, CRC
, CUP
, CVE
, CZK
, DJF
, DKK
, DOP
, DZD
, EGP
, ETB
, EUR
, FJD
, FKP
, GBP
, GEL
, GHS
, GIP
, GMD
, GNF
, GTQ
, GYD
, HKD
, HNL
, HRK
, HTG
, HUF
, IDR
, ILS
, INR
, IQD
, JMD
, JOD
, JPY
, KES
, KGS
, KHR
, KMF
, KRW
, KWD
, KYD
, KZT
, LAK
, LBP
, LKR
, LRD
, LSL
, LYD
, MAD
, MDL
, MGA
, MKD
, MMK
, MNT
, MOP
, MRU
, MUR
, MVR
, MWK
, MXN
, MYR
, MZN
, NAD
, NGN
, NIO
, NOK
, NPR
, NZD
, OMR
, PAB
, PEN
, PGK
, PHP
, PKR
, PLN
, PYG
, QAR
, RON
, RSD
, RUB
, RWF
, SAR
, SBD
, SCR
, SEK
, SGD
, SHP
, SLE
, SLL
, SOS
, SRD
, SSP
, STN
, SVC
, SZL
, THB
, TND
, TOP
, TRY
, TTD
, TWD
, TZS
, UAH
, UGX
, USD
, UYU
, UZS
, VES
, VND
, VUV
, WST
, XAF
, XCD
, XOF
, XPF
, YER
, ZAR
, ZMW
id of the Addon
Name of the Addon
Amount of the addon
Represents the different categories of taxation applicable to various products and services.
Available options:
digital_products
, saas
, e_book
, edtech
Updated time
Optional description of the Addon
Image of the Addon
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
apiKey: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
async function main() {
// Automatically fetches more pages as needed.
for await (const addonResponse of client.addons.list()) {
console.log(addonResponse.id);
}
}
main();
{
"items": [
{
"business_id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"currency": "AED",
"description": "<string>",
"id": "<string>",
"image": "<string>",
"name": "<string>",
"price": 123,
"tax_category": "digital_products",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}