Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Data Structure for Mirror Balance

This document contains the Balance Collection (MongoDB) definition. We could see java objects and JSON schema for MongoDB.

Sources

Account Balance Endpoint

  • Fiserv ednpoint: /accounts/balance

  • Class: FiservRepository

  • Service: getAccountBalance

Request DTO properties

Code Block
languagejava
  @Builder.Default
  protected String organizationNumber = "950";

  protected String accountNumber;

Responses DTO

Code Block
languagejava
public class AccountBalanceResponseDTO {

    private String accountOrCardNumber;

    private Double currentBalance;

    private Double availableCreditLimit;

    private Double frozenBalance;

}

Data Structure for Account Mirror

...