Getnet DocsGetnet Docs

Retrieves the technical configurations for Web Checkout.

GET/technical-configurations

Retrieves the technical configurations for Web Checkout. This request does not require any parameters and returns the configurations that are available for the Web Checkout product.

Response

OK

layout_customizationobject

Checkout layout customization settings.

Show layout_customization properties
colorobject

Color settings for the checkout layout.

Show color properties
primarystring

Primary color used in the checkout layout. This color is typically applied to main buttons, headers, and other primary interface elements.

accentstring

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_urlstring<uri>

Redirect URL in case of successful checkout.

error_urlstring<uri>

Redirect URL in case of an error during checkout.

notificationobject

Webhook configuration for payment notifications.

Show notification properties
urlstring<uri>

Webhook URL to receive payment notifications.

authentication_typestring

Type of authentication used for the webhook.

user_credentialsobject

User credentials for webhook authentication.

Show user_credentials properties
userstring

Username for webhook authentication.

passwordstring

Password for webhook authentication.

Bad request. Only required fields are validated.

codestring

Unique alphanumeric human readable error code

messagestring

Brief summary of the reported issue

detailsobject[]

Array of errors. The object type varies depending on the error context.

Unauthorized

codestring

Unique alphanumeric human readable error code

messagestring

Brief summary of the reported issue

detailsobject[]

Array of errors. The object type varies depending on the error context.

Not found

codestring

Unique alphanumeric human readable error code

messagestring

Brief summary of the reported issue

detailsobject[]

Array of errors. The object type varies depending on the error context.

Unprocessable entity. Potential business error.

codestring

Unique alphanumeric human readable error code

messagestring

Brief summary of the reported issue

detailsobject[]

Array of errors. The object type varies depending on the error context.

Internal server error

codestring

Unique alphanumeric human readable error code

messagestring

Brief summary of the reported issue

detailsobject[]

Array of errors. The object type varies depending on the error context.

Request
curl -X GET "https://api-sbx.pre.globalgetnet.com/dpy/web-checkout/v1/technical-configurations"
Response
{
  "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"
    }
  }
}