# Partially updates the technical configurations for Web Checkout.

**PATCH** `/technical-configurations`

Base URL: `https://api-sbx.pre.globalgetnet.com/dpy/web-checkout/v1`

Partially updates the technical configurations for Web Checkout.

This request does not require any parameters and partially updates the configurations that are available for the Web Checkout product.

## Authorization

- PROD (oauth2)
- PRE (oauth2)

## Body

Content type: `application/json`

- `layout_customization` (object)
  Checkout layout customization settings.
  - `color` (object)
    Color settings for the checkout layout.
    - `primary` (string)
      Primary color used in the checkout layout. This color is typically applied to main buttons, headers, and other primary interface elements.
    - `accent` (string)
      Accent color used in the checkout layout. This color is typically applied to secondary buttons, highlights, and other accent elements.
  - `type_face` ("Santander Micro Text" | "Open Sans" | "Montserrat" | "Roboto")
    Font type used in the checkout layout. This font is applied to all text elements in the checkout interface.
- `success_url` (string<uri>)
  Redirect URL in case of successful checkout.
- `error_url` (string<uri>)
  Redirect URL in case of an error during checkout.
- `notification` (object)
  Webhook configuration for payment notifications.
  - `url` (string<uri>)
    Webhook URL to receive payment notifications.
  - `authentication_type` (string)
    Type of authentication used for the webhook.
  - `user_credentials` (object)
    User credentials for webhook authentication.
    - `user` (string)
      Username for webhook authentication.
    - `password` (string)
      Password for webhook authentication.

Example:

```json
{
  "layout_customization": {
    "color": {
      "primary": "#1E40AF",
      "accent": "#F97316"
    },
    "type_face": "Open Sans"
  },
  "success_url": "https://www.mystore.com/checkout/success",
  "error_url": "https://www.mystore.com/checkout/error",
  "notification": {
    "url": "https://api.mystore.com/webhooks/payment-notifications",
    "authentication_type": "user_credentials",
    "user_credentials": {
      "user": "webhook_user_a9c99f03",
      "password": "wh_secret_78ce12f6665b4354"
    }
  }
}
```

## Responses

### 200

OK

- `layout_customization` (object)
  Checkout layout customization settings.
  - `color` (object)
    Color settings for the checkout layout.
    - `primary` (string)
      Primary color used in the checkout layout. This color is typically applied to main buttons, headers, and other primary interface elements.
    - `accent` (string)
      Accent color used in the checkout layout. This color is typically applied to secondary buttons, highlights, and other accent elements.
  - `type_face` ("Santander Micro Text" | "Open Sans" | "Montserrat" | "Roboto")
    Font type used in the checkout layout. This font is applied to all text elements in the checkout interface.
- `success_url` (string<uri>)
  Redirect URL in case of successful checkout.
- `error_url` (string<uri>)
  Redirect URL in case of an error during checkout.
- `notification` (object)
  Webhook configuration for payment notifications.
  - `url` (string<uri>)
    Webhook URL to receive payment notifications.
  - `authentication_type` (string)
    Type of authentication used for the webhook.
  - `user_credentials` (object)
    User credentials for webhook authentication.
    - `user` (string)
      Username for webhook authentication.
    - `password` (string)
      Password for webhook authentication.

Example:

```json
{
  "layout_customization": {
    "color": {
      "primary": "#1E40AF",
      "accent": "#F97316"
    },
    "type_face": "Open Sans"
  },
  "success_url": "https://www.mystore.com/checkout/success",
  "error_url": "https://www.mystore.com/checkout/error",
  "notification": {
    "url": "https://api.mystore.com/webhooks/payment-notifications",
    "authentication_type": "user_credentials",
    "user_credentials": {
      "user": "webhook_user_a9c99f03",
      "password": "wh_secret_78ce12f6665b4354"
    }
  }
}
```

### 400

Bad request.

Only required fields are validated.

- `code` (string)
  Unique alphanumeric human readable error code
- `message` (string, required)
  Brief summary of the reported issue
- `details` (object[])
  Array of errors.

  The object type varies depending on the error context.

Example:

```json
{
  "code": "validation_error",
  "message": "One or more fields failed validation",
  "details": "[ {\"field\": \"amount\", \"error\": \"amount is required\"} ]"
}
```

### 401

Unauthorized

- `code` (string)
  Unique alphanumeric human readable error code
- `message` (string, required)
  Brief summary of the reported issue
- `details` (object[])
  Array of errors.

  The object type varies depending on the error context.

Example:

```json
{
  "code": "validation_error",
  "message": "One or more fields failed validation",
  "details": "[ {\"field\": \"amount\", \"error\": \"amount is required\"} ]"
}
```

### 404

Not found

- `code` (string)
  Unique alphanumeric human readable error code
- `message` (string, required)
  Brief summary of the reported issue
- `details` (object[])
  Array of errors.

  The object type varies depending on the error context.

Example:

```json
{
  "code": "validation_error",
  "message": "One or more fields failed validation",
  "details": "[ {\"field\": \"amount\", \"error\": \"amount is required\"} ]"
}
```

### 422

Unprocessable entity.

Potential business error.

- `code` (string)
  Unique alphanumeric human readable error code
- `message` (string, required)
  Brief summary of the reported issue
- `details` (object[])
  Array of errors.

  The object type varies depending on the error context.

Example:

```json
{
  "code": "validation_error",
  "message": "One or more fields failed validation",
  "details": "[ {\"field\": \"amount\", \"error\": \"amount is required\"} ]"
}
```

### 500

Internal server error

- `code` (string)
  Unique alphanumeric human readable error code
- `message` (string, required)
  Brief summary of the reported issue
- `details` (object[])
  Array of errors.

  The object type varies depending on the error context.

Example:

```json
{
  "code": "validation_error",
  "message": "One or more fields failed validation",
  "details": "[ {\"field\": \"amount\", \"error\": \"amount is required\"} ]"
}
```