# Deactivate page

Deactivate an active payment page to prevent further use.

Endpoint: POST /deactivate
Version: 1.0.0
Security: MerchantID

## Header parameters:

  - `merchant` (string, required)

  - `signature` (string, required)

## Request fields (application/json):

  - `id` (string, required)
    Unique payment page identifier.
Can be found at the end of the payment page URL.
    Example: VxKnj3D

## Response 200 fields (application/json):

  - `status` (string)
    Payment page has been deactivated.
    Example: ok

  - `error` (object, required)
    Error object.

  - `error.code` (string, required)
    Unauthorized access due to invalid credentials.
    Example: 1.01

  - `error.message` (array, required)
    Array of error messages applied to the decline payment.

## Response 400 fields (application/json):

  - `error` (object, required)
    Error object.

  - `error.code` (string, required)
    Error code.
    Example: 2.01

  - `error.message` (object, required)
    An object provide details about the error or status.
Contain key-value pairs explaining the issue in more detail.

