---
title: "Update a gateway service"
method: PUT
path: "/v1/gateways/{id}"
---

# Update a gateway service

`PUT /v1/gateways/{id}`

Update an existing gateway service

## Path parameters

- `id` string, required

## Headers

- `x-user-secret-key` string, required
- `Content-Type` string, required

## Request body

- object
  - `username` string — The merchant username
  - `password` string — The gateway secret key
  - `wallets` object
    - `apple` object — An optional object with specific fields for Apple Pay
  - `name` string — A Manually defined gateway name
  - `type` string — Type of gateway

## Response `200`

200

- object
  - `status` integer
  - `error` unknown
  - `resource` object
    - `type` string
    - `data` object
      - `created_at` string
      - `updated_at` string
      - `type` string
      - `name` string
      - `_id` string
      - `default` boolean
      - `archived` boolean
      - `mode` string

## Other responses

- `400` — 400

---

[API](https://skmtc.dev/commbank/apis/powerboard-api.md) · [All operations](https://skmtc.dev/commbank/apis/powerboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/commbank/powerboard-api/revisions/2ef3ed32f8c2/schema)
