Adds categorisation, classification and predicts a merchant name for transactions supplied.
POST {{baseUrl}}/insights-engine/v1/enrich-transactions
Request Body
{"countryCode"=>"culpa pariatur", "currencyCode"=>"ut", "referenceId"=>"commodo", "transactions"=>[{"amount"=>-53014988.39472711, "bookingDate"=>"nulla ex Duis", "creditDebitIndicator"=>"Debit", "description"=>"et dolore", "status"=>"Booked", "transactionId"=>"eu officia aliqua"}, {"amount"=>-90188614.56207876, "bookingDate"=>"eu velit voluptate incididunt officia", "creditDebitIndicator"=>"Credit", "description"=>"eiu", "status"=>"Booked", "transactionId"=>"tempor"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
[{"referenceId":"et laborum","countryCode":"enim","currencyCode":"consectetur labore","transactions":[{"amount":31917231.20463185,"bookingDate":"exe","creditDebitIndicator":"Credit","description":"velit veniam Excepteur","status":"Pending","transactionId":"sed","enrichedData":{"category":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"confidence":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"class":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"confidence":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"predictedMerchantName":"in proident enim"}},{"amount":-1084896.883727327,"bookingDate":"pariatur veniam consequa","creditDebitIndicator":"Debit","description":"sed","status":"Booked","transactionId":"labore ut","enrichedData":{"category":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"confidence":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"class":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"confidence":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"predictedMerchantName":"nisi in dolore"}}]},{"referenceId":"est esse","countryCode":"eiusmod laboris esse","currencyCode":"voluptate dolor","transactions":[{"amount":58893004.460893035,"bookingDate":"ipsum","creditDebitIndicator":"Credit","description":"aliqua veniam aliquip dolore sunt","status":"Pending","transactionId":"mi","enrichedData":{"category":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"confidence":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"class":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"confidence":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"predictedMerchantName":"in reprehenderit est ad mollit"}},{"amount":-8435350.766431555,"bookingDate":"eiusmod aliqua minim","creditDebitIndicator":"Credit","description":"commodo sunt mollit","status":"Booked","transactionId":"su","enrichedData":{"category":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"confidence":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"class":{"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"confidence":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"predictedMerchantName":"officia ullamco"}}]}]