Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/microservices-patterns/ftgo-application/llms.txt

Use this file to discover all available pages before exploring further.

The Accounting Service REST API is available at http://localhost:8085. It manages consumer financial accounts, which are created automatically when a new consumer registers. Accounts are identified by the same ID used in the Consumer Service. This API currently exposes a read endpoint for account lookup.

GET /accounts/

Retrieves an account record by its ID. The accountId corresponds to the consumer ID assigned by the Consumer Service when the consumer was created.

Path parameters

accountId
string
required
The ID of the account to retrieve. This matches the consumer ID from the Consumer Service.

Response

accountId
string
The unique identifier of the account, echoing the requested accountId.

Status codes

CodeMeaning
200 OKAccount found and returned.
404 Not FoundNo account exists with the given accountId.

Example

curl -s http://localhost:8085/accounts/1

Build docs developers (and LLMs) love