---
title: "Patch a gateway account"
method: PATCH
path: "/v1/api/accounts/{accountId}"
tags: ["Gateway accounts"]
---

# Patch a gateway account

`PATCH /v1/api/accounts/{accountId}`

A generic endpoint that allows the patching of allow_apple_pay, allow_google_pay, block_prepaid_cards, notify_settings, email_collection_mode, corporate_credit_card_surcharge_amount, corporate_debit_card_surcharge_amount, corporate_prepaid_debit_card_surcharge_amount, allow_zero_amount, allow_moto, moto_mask_card_number_input, moto_mask_card_security_code_input, allow_telephone_payment_notifications, send_payer_ip_address_to_gateway, send_payer_email_to_gateway, integration_version_3ds, send_reference_to_gateway, allow_authorisation_api or worldpay_exemption_engine_enabled using a JSON Patch-esque message body.

## Path parameters

- `accountId` integer, required

## Request body

- string

## Response `200`

OK

## Other responses

- `400` — Bad request
- `404` — Not found

## Changes

- **2025-01-16** `c12941ae518b` — 1 warning
  - added the new `AMOUNT_BELOW_MINIMUM` enum value to the `error_identifier` response property for the response status `400`
- **2024-11-25** `414b11cd97c0` — 1 warning
  - added the new `NON_HTTPS_RETURN_URL_NOT_ALLOWED_FOR_A_LIVE_ACCOUNT` enum value to the `error_identifier` response property for the response status `400`

[Change history](https://skmtc.dev/government-digital-service/apis/connector-api/changes/v1/api/accounts/:accountId/patch.md)

---

[API](https://skmtc.dev/government-digital-service/apis/connector-api.md) · [All operations](https://skmtc.dev/government-digital-service/apis/connector-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/government-digital-service/connector-api/revisions/1e19a94c93a9/schema)
