---
title: "ContactMethod:Create"
method: POST
path: "/v2/contactmethods"
tags: ["ContactMethods"]
---

# ContactMethod:Create

`POST /v2/contactmethods`

Creates a new contact method for a merchant. You can indicate per contact method if the contact details are public. If they are public they can be used in communication with end users. You can also supply a merchantCode. If a merchantCode is supplied then you need to have access to that merchant.

## Request body

- MerchantContactMethodInput — Input for creating or updating a contact method.
  - `merchantCode` string — The merchant id of your company starting with M.
  - `contactMethod` MerchantContactMethodInputContactMethod, required — Represents the Contact method information in the Contact Method input.
    - `type` 'email' | 'email_support' | 'phone' | 'phone_helpdesk' | 'phone_off_hours' | 'url' | 'messaging_app' | 'email_msnskype' | 'null', nullable — The type of contact method.
    - `value` string, nullable — The value of the contact method
    - `description` string, nullable — The description of the contact method
    - `public` boolean, nullable — Is the contact method public accessible
    - `notifications` boolean, nullable — Does the contact method needs to receive notifications

## Response `201`

Created

- MerchantContactMethodOutput — Detailed representation of a contact method.
  - `code` string — The CM-code for a contact method.
  - `type` 'email' | 'email_support' | 'phone' | 'phone_helpdesk' | 'phone_off_hours' | 'url' | 'messaging_app' | 'email_msnskype' — The type of contact method.
  - `value` string — The value of the contact method
  - `description` string, nullable — The description of the contact method
  - `public` boolean — Is the contact method public accessible
  - `notifications` boolean — Does the contact method needs to receive notifications
  - `merchant` MerchantContactMethodOutputMerchant — Represents the merchant information in the contact method output.
    - `code` string — M-1234-4321
    - `name` string — The merchant name to which this object belongs
    - `status` string — The merchant status to which this object belongs
    - `incorporationCountry` string — The incorporationCountry field represents the country in which the entity is legally registered or incorporated
  - `createdAt` string, date-time, nullable — The date and time at which this entity was created in ISO-8601 (ATOM) notation
  - `createdBy` string, nullable — The reference to an account or token whom created the entity
  - `modifiedAt` string, date-time, nullable — The date and time at which this entity was modified in ISO-8601 (ATOM) notation.
  - `modifiedBy` string, nullable — The reference to an account or token whom modified this entity
  - `deletedAt` string, date-time, nullable — The date and time at which this entity was deleted in ISO-8601 (ATOM) notation.
  - `deletedBy` string, nullable — The reference to an account or token whom deleted the entity
  - `_links` LinkOutput[], nullable
    - `href` string, nullable — The URI to the linked resource
    - `rel` string, nullable — The name of the linked resource
    - `type` string, nullable — The (http(s)) method needed to approach the linked resource

## Other responses

- `400` — Bad request, see response body for more information
- `401` — Unauthorized. Supplied credentials are invalid
- `403` — Forbidden. Supplied credentials have no rights
- `404` — Resource not found
- `405` — Used HTTP method is not allowed
- `406` — Not acceptable. The supplied content type in the accept parameter in the header is not supported
- `410` — Indicates that this resource is no longer available for use
- `415` — Unsupported media. The supplied content type in the content-type parameter in the header is not supported
- `422` — Unprocessable entity
- `429` — Rate limit reached.
- `500` — An internal error occurred.
- `503` — The server is currently unable to handle your request

---

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