Skip to main content
Runs the analytics journey over one or more PDF bank statements you reference by URL and returns the computed insights as JSON. PDF Analytics is a two-step flow:
1

Execute the journey

Call POST /ie/transaction/journey/execute with the bank-statement URLs. The response data is always empty at this stage — capture the transaction_id and journey_transaction_id it returns.
2

Fetch the data

Call POST /ie/transaction/journey/data/fetch with that transaction_id and journey_transaction_id to retrieve the computed analytics. The data shape matches Analytics JSON.

Headers

Both calls use the same headers:
HeaderDescription
Content-Typeapplication/json
AuthorizationBasic <base64(client_id:client_secret)>
The Authorization value, journey_id, and exchange_application_id are provided by Moneyone during onboarding.

Step 1 — Execute the journey

Set journey_id to the value provided by Moneyone for this variant, and pass each bank-statement URL under input_data.bank_statement_data.
curl --location --request POST 'https://equal-gms-uat.moneyone.in/ie/transaction/journey/execute' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Basic <base64(client_id:client_secret)>' \
  --data-raw '{
    "journey_id": "<journey_id>",
    "exchange_application_id": "gateway.equal.f20fec65-f5ef-4b33-b5eb-3cf79b701355",
    "input_data": {
      "bank_statement_data": [
        {
          "bank_statement_url": "<bank_statement_url>"
        }
      ]
    }
  }'
FieldDescription
journey_idProvided by Moneyone for this variant.
exchange_application_idYour exchange application ID provided by Moneyone.
input_data.bank_statement_data[].bank_statement_urlURL to a PDF bank statement. Add more objects to analyze multiple statements.

Response

The data object is empty here. Store the transaction_id and journey_transaction_id for Step 2.
{
  "status": "SUCCESS",
  "message": "Success",
  "status_code": "success",
  "transaction_id": "ac573cd1-3323-45ac-bace-e315eb29b412",
  "journey_transaction_id": "EQ.GT.53c2c0ce-fb6d-4806-b6ee-f426131ef9f5#<journey_id>#4f7f739d130a4f74a5afb360ef35d620",
  "journey_id": "<journey_id>",
  "data": {}
}

Step 2 — Fetch the data

Pass the transaction_id and journey_transaction_id returned by Step 1.
curl --location 'https://equal-gms-uat.moneyone.in/ie/transaction/journey/data/fetch' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Basic <base64(client_id:client_secret)>' \
  --data '{
    "transaction_id": "ac573cd1-3323-45ac-bace-e315eb29b412",
    "journey_transaction_id": "EQ.GT.53c2c0ce-fb6d-4806-b6ee-f426131ef9f5#<journey_id>#4f7f739d130a4f74a5afb360ef35d620"
  }'
FieldDescription
transaction_idThe transaction_id from the Step 1 response.
journey_transaction_idThe journey_transaction_id from the Step 1 response.

Response

{
  "status": "SUCCESS",
  "message": "Success",
  "status_code": "success",
  "transaction_id": "ac573cd1-3323-45ac-bace-e315eb29b412",
  "journey_transaction_id": "EQ.GT.53c2c0ce-fb6d-4806-b6ee-f426131ef9f5#<journey_id>#4f7f739d130a4f74a5afb360ef35d620",
  "journey_id": "<journey_id>",
  "data": { <analytics data as JSON> }
}

Response fields

FieldDescription
statusOverall status, e.g. SUCCESS.
messageHuman-readable status message.
status_codeMachine-readable status code, e.g. success.
transaction_idUnique ID for this analytics transaction.
journey_transaction_idFully-qualified journey transaction reference.
journey_idThe journey_id provided by Moneyone for this variant.
dataThe computed analytics, returned inline as a JSON object.
The analytics output structure is configurable. To adjust the fields returned in data, contact support@moneyone.in.