> ## Documentation Index
> Fetch the complete documentation index at: https://docs.freshlimepay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Restore Checkout Payment Button

> Restores a previously soft-deleted Checkout Payment Button.



## OpenAPI

````yaml POST /product-payment/restore/{id}
openapi: 3.1.0
info:
  title: Checkout Payment Button API
  description: >-
    API for creating, updating, and deleting Checkout Payment Buttons (PayPal,
    Stripe, StripeConnect).
  version: 1.0.0
servers:
  - url: https://cloud-api.freshlimepay.com
security: []
paths:
  /product-payment/restore/{id}:
    post:
      summary: Restore Checkout Payment Button
      description: Restores a previously soft-deleted Checkout Payment Button.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Checkout Payment Button restored successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
        '400':
          description: Validation or restore error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    ApiResponse:
      type: object
      properties:
        isSuccess:
          type: boolean
        data:
          type: string
          description: Usually returns the Checkout Payment Button ID
        message:
          type: string
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-KEY
      description: API Key required for authorization (mandatory for all endpoints)

````