Lista todas las marcas.
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
const brands = await client.brands.list();
console.log(brands.items);{
"items": [
{
"brand_id": "<string>",
"business_id": "<string>",
"enabled": true,
"statement_descriptor": "<string>",
"verification_enabled": true,
"verification_status": "Success",
"description": "<string>",
"image": "<string>",
"name": "<string>",
"reason_for_hold": "<string>",
"support_email": "<string>",
"url": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List all brands
List of brands for this business
Mostrar atributos secundarios
Success, Fail, Review, Hold Incase the brand verification fails or is put on hold
¿Esta página le ayudó?
import DodoPayments from 'dodopayments';
const client = new DodoPayments({
bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});
const brands = await client.brands.list();
console.log(brands.items);{
"items": [
{
"brand_id": "<string>",
"business_id": "<string>",
"enabled": true,
"statement_descriptor": "<string>",
"verification_enabled": true,
"verification_status": "Success",
"description": "<string>",
"image": "<string>",
"name": "<string>",
"reason_for_hold": "<string>",
"support_email": "<string>",
"url": "<string>"
}
]
}