riverty logo

Docs

Retrieve a Claim Number

After submitting a claim, you may need to retrieve the claimNumber assigned to it. This claim number is essential for tracking and managing the claim throughout its lifecycle. The claim number can be found in the response body of the GET transaction request.

Follow these steps to retrieve a claim number:

  1. Send a GET Request:
    Send a GET request to the /transactions endpoint with the necessary from and to date parameters to filter the transactions.
  2. Check the Response:
    Look for the transaction that corresponds to your submitted claim in the response body.
  3. Locate the Claim Number:
    Find the parameter claimNumber in the transaction details.

Sample Request

GET {{collection_api_base_url}}/v1/transactions?from=2024-05-22&to=2024-05-23

Sample Response

{
    "sortNumber": 0,
    "id": "3387532a-0e22-49a2-bb5b-ad92abf21fb0",
    "type": "CONFIRMATION",
    "customerNumber": "K1798010996",
    "claimNumber": "951104528",
    "confirmation": {
        "date": "2023-01-12",
        "type": "INVOICE",
        "number": "I87999387",
        "contractNumber": "V113951839",
        "amount": 43.76,
        "currency": "EUR",
        "additionalProperties": {}
    }
}