---
title: "Service:GetConfig"
method: GET
path: "/services/config"
tags: ["Services"]
---

# Service:GetConfig

`GET /services/config`

Get the complete configuration of a service location. you can use this to create your own checkout. You need to authenticate with an AT code (as username) and the corresponding token (as password) or you can authenticate with a SL code (as username) and the corresponding secret (as password).

## Query parameters

- `serviceId` string — The ID of your service. Required if you authenticate with AT-code/token. You can find the service ID in the portal.

## Response `200`

Ok.

- ServiceConfig
  - `code` string — The ID of your service. You can find the service ID in the portal.
  - `secret` string — The unique reference for this service.
  - `testMode` boolean — Indicates if the service is in testmode or not, possible values: false or true
  - `name` string — The name of your service.
  - `translations` Translations — unresolved $ref
  - `status` string — The state of the service
  - `merchant` MerchantConfig[], nullable
    - `code` string — The merchant id of your company starting with M.
    - `status` string — Merchant state
    - `name` string — The name of your merchant.
  - `category` object, nullable
    - `code` string — Category identifier.
    - `name` string — The category name.
  - `mcc` integer, nullable
  - `turnOverGroup` object, nullable
    - `code` string — Id of the turnover group
    - `name` string — Name of the turn over group
  - `layout` object, nullable
    - `code` string — Id of layout
    - `name` string — Name of the layout
    - `ccsUrl` string — CSS url to the layout css
    - `icon` string — Image in base64 encoding
    - `supportingColor` string — Supporting hex color code
    - `headerTextColor` string — Header hex color code
    - `buttonColor` string — Button hex color code
    - `buttonTextColor` string — Button text hex color code
  - `tradeName` object, nullable
    - `code` string — An identifier for this TradeName
    - `name` string — A registered TradeName
  - `publication` object
    - `domainUrl` string, uri — The domain URL
  - `contactPhone` string, phone — The primary contact phone number.
  - `contactEmail` string, email — The primary contact email address.
  - `address` object
    - `code` string — The unique identifier of your address.
    - `streetName` StreetName — unresolved $ref
    - `streetNumber` StreetNumber — unresolved $ref
    - `zipCode` ZipCode — unresolved $ref
    - `city` City — unresolved $ref
    - `countryCode` CountryCode — unresolved $ref
  - `createdAt` CreatedAt — unresolved $ref
  - `createdBy` CreatedBy — unresolved $ref
  - `modifiedAt` ModifiedAt — unresolved $ref
  - `modifiedBy` ModifiedBy — unresolved $ref
  - `deletedAt` DeletedAt — unresolved $ref
  - `deletedBy` DeletedBy — unresolved $ref
  - `checkoutOptions` object[]
    - `tag` string — The tag of the checkout option.
    - `id` integer — payment method group id
    - `smartGrouping` boolean — Indicates if the payment method groups are smart grouped. If true, the payment methods are grouped based on the countries the payment method is available in.
    - `name` string — The name of the checkout option.
    - `translations` Translations — unresolved $ref
    - `image` string — The image of the checkout option.
    - `paymentMethods` PaymentMethodConfig[]
      - `id` integer, required — The ID of the payment option e.g. iDEAL is 10. See: services/get/sl-xxxx-xxx.
      - `name` string — The name of the payment method.
      - `description` string
      - `translations` Translations — unresolved $ref
      - `image` string — The image of the payment method.
      - `targetCountries` string[]
      - `options` object[]
        - `id` integer — The ID of the issuer.
        - `name` string — The name of the issuer.
        - `image` string — The image of the issuer.
      - `settings` object, nullable — An object of key/value pairs defining configurable settings for the payment method. Each key represents a setting name, and its corresponding value specifies the setting's configuration.
      - `minAmount` integer — The minimum amount in cents in order to use this payment_method.
      - `maxAmount` integer — The maximum amount in cents which is allowed for this payment_method.
  - `checkoutSequence` object[]
  - `checkoutTexts` object[]
  - `encryptionKeys` object[]
  - `tguList` object[]
    - `ID` integer
    - `share` integer
    - `domain` string
    - `status` string

## Other responses

- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `405` — Used HTTP method is not allowed
- `406` — Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `429` — Rate limit reached.
- `500` — An internal error occurred

---

[API](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api.md) · [All operations](https://skmtc.dev/pay/apis/pay-transaction-gateway-unit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pay/pay-transaction-gateway-unit-api/revisions/2bc260c7bdfc/schema)
