For the complete documentation index, see llms.txt. This page is also available as Markdown.

Re-enrich using transaction tokens - POST

Re-enrich merchants using transaction tokens

post
/api/v3/merchant/token

Re-runs MRS enrichment using transactionToken values previously returned by /api/v3/merchant or /api/v3/merchant/list.

A transaction token represents the original transaction search input and should be treated as an opaque value. Clients should store the token exactly as returned by MRS and send it back unchanged when a later enrichment is required.

Every transactionToken in a request must be non-empty and unique within that request.

Authorizations
X-Api-KeystringRequired
Body
Responses
200

Enrichment results keyed by the transaction token supplied in the request.

application/json
post/api/v3/merchant/token
POST /api/v3/merchant/token HTTP/1.1
Host: eu.snowdrop-mrs.com
X-Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 124

{
  "transactions": [
    {
      "transactionToken": "tx-v1-eyJleGFtcGxlIjoiLi4uIn0"
    },
    {
      "transactionToken": "tx-v1-eyJleGFtcGxlIjoidHdvIn0"
    }
  ]
}
{
  "results": [
    {
      "token": "tx-v1-eyJleGFtcGxlIjoiLi4uIn0",
      "result": [
        {
          "transactionToken": "tx-v1-eyJleGFtcGxlIjoiLi4uIn0",
          "name": "Example Merchant",
          "website": "https://example.com",
          "category": "Groceries",
          "categories": [
            "supermarket"
          ],
          "isClearResponse": false
        }
      ]
    }
  ]
}

Last updated

Was this helpful?