# Perform transaction erasure

This method enables the member to perform Transaction Erasure for transactions that meet the predefined conditions.

Endpoint: POST /transactionErasure
Version: 3.0.0
Security: 

## Request fields (application/json):

  - `orderId` (string, required)
    Enter the unique order ID from the loyalty member's order.
    Example: "A2034354570"

  - `userId` (string, required)
    Enter the unique ID of the loyalty member.
    Example: "exsdf1038"

## Response 200 fields (application/json):

  - `transactiondetails` (object)
    Displays the following parameters-

  - `transactiondetails.orderId` (string)
    Displays the loyalty member's unique order ID for the order they placed.
    Example: "A2034354570"

  - `transactiondetails.erasureDate` (string)
    Displays the date of the transaction erasure in yyyy-MM-dd'T'HH:mm:ssZ format.
    Example: "2024-08-08T07:00:12+0000"

  - `transactiondetails.userId` (string)
    Displays the unique ID of the loyalty member.
    Example: "user@domain.com"

  - `transactiondetails.pointsUsed` (integer)
    Displays the number of points used to erase the transaction.
    Example: 100

  - `transactiondetails.orderAttribute` (object)
    Displays the following details-

  - `transactiondetails.orderAttribute.attribute_1` (string)
    Displays a description of the attributes associated with the order. The order attributes are completely configurable based on the needs of the client.
    Example: "Value1"


## Response 201 fields

## Response 400 fields

## Response 404 fields

## Response 405 fields
