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.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:| Header | Description |
|---|---|
Content-Type | application/json |
Authorization | Basic <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
Setjourney_id to the value provided by Moneyone for this variant, and pass each bank-statement URL under
input_data.bank_statement_data.
| Field | Description |
|---|---|
journey_id | Provided by Moneyone for this variant. |
exchange_application_id | Your exchange application ID provided by Moneyone. |
input_data.bank_statement_data[].bank_statement_url | URL to a PDF bank statement. Add more objects to analyze multiple statements. |
Response
Thedata object is empty here. Store the transaction_id and journey_transaction_id
for Step 2.
Step 2 — Fetch the data
Pass thetransaction_id and journey_transaction_id returned by Step 1.
| Field | Description |
|---|---|
transaction_id | The transaction_id from the Step 1 response. |
journey_transaction_id | The journey_transaction_id from the Step 1 response. |
Response
Response fields
| Field | Description |
|---|---|
status | Overall status, e.g. SUCCESS. |
message | Human-readable status message. |
status_code | Machine-readable status code, e.g. success. |
transaction_id | Unique ID for this analytics transaction. |
journey_transaction_id | Fully-qualified journey transaction reference. |
journey_id | The journey_id provided by Moneyone for this variant. |
data | The 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.