Skip to content

feat(BTI-22): add Credit Management solution#20

Merged
vildanbina merged 1 commit into
developfrom
BTI-22-credit-management-v2
Jul 17, 2026
Merged

feat(BTI-22): add Credit Management solution#20
vildanbina merged 1 commit into
developfrom
BTI-22-credit-management-v2

Conversation

@vildanbina

@vildanbina vildanbina commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Add Credit Management (CreditManagement3) as a solution, reached via
app.solutions.create_solution("creditmanagement", ...). Covers 13 actions
on the /json/DataRequest endpoint: invoice create/combined/credit-note,
debtor add-update/info, debtor-file pause/resume, invoice pause/unpause/info,
product lines, and payment plans.

Wire format verified against the live Buckaroo test gateway (11/13 actions
return 190/790 Success): invoice and currency are top-level request fields;
description is top-level for CreatePaymentPlan; product-line articles pass as
a method argument with Type/TotalAmount/TotalVat; combined invoices ride into
a funding payment via combine().

base_builder: preserve group-type case in the scalar add_parameter branch
(_upper_first) so multi-word group types like ProductLine survive on the wire;
the list branch is deliberately left on .capitalize() to keep existing
builders' requests byte-identical.

Payment plans are spec-complete (all params gateway-accepted) but the happy
path is unverified: the test account lacks an active Credit Management
subscription and requires a past-due invoice.
@vildanbina
vildanbina merged commit 8d04564 into develop Jul 17, 2026
6 checks passed
@vildanbina
vildanbina deleted the BTI-22-credit-management-v2 branch July 17, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants