모든 브랜드를 나열합니다.
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
표시 하위 속성
Success, Fail, Review, Hold Incase the brand verification fails or is put on hold
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>"
}
]
}