Guardar configuración del negocio
Guarda los valores por defecto de todas tus sesiones de Hosted Checkout: apariencia, logo, diseño del checkout, tipo de botón e idioma. Se aplican salvo que la sesión los sobrescriba.
Autorización
Authorization Your public API key, with the word Token and a space in front of it. Example: Token 6534bc0a7e1f4d2b9c8e3a5f7b1d2c4e6f8a9b0c — that whole value is the header. Sending the key alone returns 401 'Authentication credentials were not provided'. In this playground you may paste just the key; the prefix is added for you.
In: header
Cuerpo de la petición
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Cuerpo de la respuesta
application/json
application/json
curl -X POST "https://example.com/checkout/v1/business/config" \ -F status="active" \ -F ui_config="{\"template\":\"ecommerce\",\"branding\":{\"brand_color\":\"#025E73\"},\"theme\":{\"font_family\":\"inter\",\"shapes\":\"rounded\"}}"{
"status": "active",
"ui_config": {
"template": "ecommerce",
"branding": {
"brand_color": "#025E73"
},
"theme": {
"font_family": "inter",
"shapes": "rounded"
}
},
"logo_url": "https://your-store.com/assets/logo.png",
"checkout_ui_version": "v2",
"submit_type": "pay",
"locale": "es"
}{
"code": "E004",
"message": "The request was invalid. Please check your input and try again.",
"metadata": {},
"name": "TNDR004",
"statusCode": 400
}