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

# Reject Swap requote

> Rejects a given swap requote. Refer to our <a href="/recipes">Recipes section</a> for more detailed examples.



## OpenAPI

````yaml POST /v4/swap/reject_requote
openapi: 3.0.0
info:
  title: Ramps & Swaps
  version: 1.0.0
servers:
  - url: https://api.moonpay.com
security: []
tags:
  - name: Account details
    description: >-
      Get your account details, including the verification status and the
      current fees.
  - name: On-ramp
    description: Get quotes and transaction details for buying cryptocurrencies.
  - name: Off-ramp
    description: Get quotes and transaction details for selling cryptocurrencies.
  - name: Swaps
    description: Get quotes and transaction details for swapping cryptocurrencies.
  - name: Data
    description: >-
      Get currently supported countries, currencies, and payment methods. Also
      check the customers's IP address restrictions.
  - name: DefiToken
    description: Retrieve token data and token lists for DeFi assets.
paths:
  /v4/swap/reject_requote:
    post:
      tags:
        - Swaps
      summary: Reject Swap requote
      description: >-
        Rejects a given swap requote. Refer to our <a href="/recipes">Recipes
        section</a> for more detailed examples.
      operationId: rejectSwapRequote
      parameters:
        - name: authorization
          in: header
          schema:
            type: string
          example: '***'
          description: >-
            A valid customer authentication token in the format 'Bearer [auth
            token]'.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              properties:
                signature:
                  type: string
                  example: '***'
                  description: >-
                    Signature from the <a
                    href="/reference/get_v4-swap-transaction-transactionid-requote">GET
                    requote</a> response.
                externalTransactionId:
                  type: string
                  example: dc2ddba2-9e81-45e9-a201-e8b6d69b5ad9
                  description: >-
                    A valid Swap transaction ID from your backend. You can use
                    this to associate your transaction with our transaction.
                walletAddresses:
                  type: object
                  properties:
                    refundWalletAddress:
                      type: string
                      example: 7.55070758245981e+47
                      description: >-
                        The address where we will refund the crypto back to, in
                        case the Swap transaction cannot be completed.
                    refundWalletAddressTag:
                      type: string
                      example: tag
                      description: The tag for `refundWalletAddress`
                  required:
                    - refundWalletAddress
              required:
                - signature
                - walletAddresses
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                    description: True if the swap requote was successfully rejected.
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
components:
  schemas:
    Error:
      type: object
      properties:
        message:
          type: string
          description: A descriptive error message.
        type:
          type: string
          description: An error type.
  securitySchemes:
    apiKey:
      type: apiKey
      name: apiKey
      in: query

````