LogoLogo
PayShield - Order Insight / TxFind
PayShield - Order Insight / TxFind
  • Overview
    • Overview
  • Integration
    • Integration Overview
    • Merchant Integration
    • Provider Integration
  • Provider
    • Verifi Provider Search
    • EMS Provider Search
  • Merchant
    • Store Transaction Details
    • Update Transaction Details
    • Validate Cart Details
    • Upload Transaction Batch
    • Upload Transaction Batch File
    • Get Merchant Descriptors
  • Cart
    • cart Flag alert received
    • cart Flag chargeback received
    • get all cart attachment data and related meta data
Powered by GitBook
On this page
Edit on GitHub
  1. Merchant

Update Transaction Details

PreviousStore Transaction DetailsNextValidate Cart Details

Last updated 1 month ago

POST https://{baseUrl}/api/v2/merchant/{merchantId}/updateTransactionDetails

The Authorization Header is required if JWT (JSON Web Token) authentication is enabled in the application configuration (config.server.jwt_enable is true). This header must contain a valid JWT token prefixed with the word "Bearer". The token is used to authenticate the request and verify that the sender is authorized to perform the requested operation.

The Request Body must be an array containing exactly one object. This object includes the details for updating a transaction.

This endpoint is used to update the transaction details for a specific merchant identified by merchantId. The update is performed on the transaction record based on the provided txShieldOICartReference. The updated transaction details are stored in MongoDB and, if applicable, in AWS DynamoDB.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Path Parameters

Name
Description

merchantId

Merchant Id for update transaction

Body

Name
Type
Required
Description

txShieldOICartReference

String

True

A unique reference for the transaction that needs to be updated. This is a mandatory field.

  • Headers
  • Path Parameters
  • Body
  • POSTUpdate Transaction Details

Update Transaction Details

post

Update Merchant Transaction based on the txShieldOICartReference

Authorizations
Path parameters
merchantIdstringRequired

Merchant Id for update transaction

Body
txShieldOICartReferencestringRequired

The unique reference for the transaction to be updated.

cardBinstringOptional

First 6 or 8 digits of the card used in the transaction.

cardLast4stringOptional

Last 4 digits of the card used in the transaction.

Responses
200
Successful update
application/json
400
Bad Request
application/json
403
Forbidden
application/json
404
Not Found
application/json
500
Server Error
application/json
post
POST /api/v2/merchant/{merchantId}/updateTransactionDetails HTTP/1.1
Host: {baseurl}
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 347

[
  {
    "txShieldOICartReference": "b1eb8c8f-6812-4596-9b53-6073631363c8",
    "cardBin": "511111",
    "cardLast4": "2222",
    "receipt": {
      "productsPurchasedList": [
        {
          "productDescription": "Updated Product Description",
          "deliveryDetails": {
            "deliveryStatus": "DELIVERED",
            "dateOfShipment": "2025-01-05T09:00:00Z"
          }
        }
      ]
    },
    "customerInformation": {
      "emailAddress": "updated@example.com"
    }
  }
]
{
  "status": "ok",
  "msg": "Transaction has been updated",
  "txShieldOICartReference": "b1eb8c8f-6812-4596-9b53-6073631363c8"
}