Skip to content

v1.1.0

Choose a tag to compare

@HalxDocs HalxDocs released this 11 Aug 00:11
· 13 commits to main since this release

Adds the resource groups that were out of scope for v1.0: payouts, disputes,
conversions, organizations, and the webhook management API.

Added

  • Payouts — supported currencies, quotes, payout destination CRUD,
    bank-account resolution and bank listings, and withdrawal create/get/list.
  • Disputes — list/get with status and date filters, multipart document
    uploads for evidence, incremental evidence updates, and the irreversible
    submit action.
  • Conversions — quoting, executing against a quote ID, and reading
    conversion records with currency and status filters.
  • OrganizationsGetMe, Get by ID, and checkout-settings
    read/update.
  • Webhook management — endpoint create/list/get/update/delete, signing
    secret read and rotation, delivery metrics, per-endpoint and org-wide event
    listing with payloads and attempt history, resending a delivery, and
    replaying an event. Event types are exposed as typed EventType*
    constants.
  • Offline API referencescripts/gen-docs.sh renders the module's doc
    comments into a static pkg.go.dev-style site in docs/, served locally
    with scripts/serve-docs.sh.

Changed

  • ListParams gained FromDate/ToDate, StartDate/EndDate, and
    FromCurrency/ToCurrency filters used by the disputes and conversions
    list endpoints.

Full Changelog: https://github.com/HalxDocs/bachs-go/blob/v1.1.0/CHANGELOG.md