---
title: "Create a gateway service"
method: POST
path: "/v1/gateways"
---

# Create a gateway service

`POST /v1/gateways`

Create a new gateway service on your PowerBoard account

## Headers

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

## Request body

- object
  - `type` 'Afterpay' | 'MasterCard' | 'Paypal' | 'Paypalclassic' | 'Zipmoney', required — The type of gateway to be added
  - `name` string, required — A manually defined name for the gateway service to be added
  - `wallets` object — An optional object with specific fields for wallet payments such as Apple/Google Pay
    - `apple` object — An optional object with specific fields for Apple Pay
  - `username` string, required — Merchant name
  - `password` string — Gateway secret key

## 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)
