Set Business Configuration

Sets the default UI configuration (logo and styles) for all your Hosted Checkout sessions. It applies to every session unless overridden at the session level.

POST
/checkout/v1/business/config

Authorization

Authorization
Authorization<token>

Tu API key con prefijo Token , p. ej. Token <API_KEY>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/checkout/v1/business/config" \  -H "Content-Type: application/json" \  -d '{    "logo_url": "https://cdn.my-store.com/logo.png",    "ui_config": {      "branding": {        "brand_color": "#1A2B3C"      },      "theme": {        "shapes": "rounded"      }    }  }'
{
  "logo_url": "https://cdn.my-store.com/logo.png",
  "ui_config": {
    "branding": {
      "brand_color": "#1A2B3C"
    },
    "theme": {
      "shapes": "rounded"
    }
  }
}
Was this page helpful?