feat(devex): add the compliance service to the bruno api collection - #309
Merged
Conversation
Extend the importable API collection with the KYC and case endpoints so the compliance service is explorable alongside ledger, payments and decision: initiate and read a KYC session, and open, list, read, claim, resolve and escalate a case. Requests mirror the existing folders - bearer from the environment, an Idempotency-Key on session initiation, read and write scopes documented per request. The sandbox environment gains a compliance base URL and the new resource id variables, and the README is updated. Closes #303
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
E-09 DevEx #303 (F-09.4 remainder) - add the compliance service to the Bruno API collection. The collection (from #237) covered ledger/payments/decision; compliance was built later and was the missing piece.
What
8 new api/collection/compliance/*.bru, mirroring the existing payments/ledger format (bearer from {{token}}, scopes documented per request):
Plus: environments/sandbox.bru gains complianceUrl (8083 placeholder), kycSessionId, caseId; README adds the compliance scopes row, the KYC-initiation idempotency note, and the compliance placeholder service.
Source-fidelity
Endpoints, methods and bodies verified against KycController/CaseController (CreateKycSessionRequest {subjectReference}, OpenCaseRequest {reference}); no invented fields. compliance/decision aren't in compose, so their URLs are documented standalone placeholders.
Gate chain
Data-only collection (no code/CI); merge-gate is structural fidelity to the backend + the existing exemplar.
Closes #303