Skip to content

1.5.0 — Core 0.15.4

Latest

Choose a tag to compare

@ubcodes ubcodes released this 24 Sep 06:25
d877de4

Aligns the Java SDK error catalogue with Blnk Core 0.15.4.

Maven: com.blnkfinance:blnk-java:1.5.0 — publish to Central Portal is separate; this tag is the source of the release.

Added

  • BlnkErrorCodes now mirrors Core's full error_detail.code catalogue, grouped by prefix (GEN_, AUTH_, APIKEY_, TXN_, BAL_, LGR_, ACC_, IDT_, RECON_, META_, HOOK_, QUEUE_, SRCH_, ADMIN_).
  • Codes to branch on from Core 0.15.4: TXN_ALREADY_REFUNDED (409), BAL_NOT_FOUND (404), TXN_VALIDATION_ERROR for split requests that carry both sources and destinations, and GEN_CONFLICT on multi-leg refund failure.
  • search().multiSearch(MultiSearchParams) for Core POST /multi-search.
  • ledgers().list() and ledgerBalances().list() with optional ListOptions (limit/offset).
  • transactions().list() with the same optional ListOptions (Core default page is limit=20).
  • balanceMonitor().listByBalanceId(balanceId) for Core GET /balance-monitors/balances/:balance_id.

Unchanged

  • Existing constants (TXN_INVALID_AMOUNT, GEN_CONFLICT, TXN_VALIDATION_ERROR) keep their values; no caller changes are needed.