This repository has been archived on 2026-07-20 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
main
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-go](https://github.com/actions/setup-go) | action | major | `v6` → `v7` | --- ### Release Notes <details> <summary>actions/setup-go (actions/setup-go)</summary> ### [`v7.0.0`](https://github.com/actions/setup-go/releases/tag/v7.0.0) [Compare Source](https://github.com/actions/setup-go/compare/v7.0.0...v7.0.0) ##### What's Changed - Migrate to ESM and upgrade dependencies by [@​priyagupta108](https://github.com/priyagupta108) in [#​763](https://github.com/actions/setup-go/pull/763) - chore(deps): bump [@​actions/cache](https://github.com/actions/cache) to 6.2.0 by [@​philip-gai](https://github.com/philip-gai) in [#​771](https://github.com/actions/setup-go/pull/771) ##### New Contributors - [@​philip-gai](https://github.com/philip-gai) made their first contribution in [#​771](https://github.com/actions/setup-go/pull/771) **Full Changelog**: <https://github.com/actions/setup-go/compare/v6...v7.0.0> ### [`v7`](https://github.com/actions/setup-go/compare/v6.5.0...v7.0.0) [Compare Source](https://github.com/actions/setup-go/compare/v6.5.0...v7.0.0) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNDMuMiIsInVwZGF0ZWRJblZlciI6IjQzLjI0My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->Reviewed-on: #17 Co-authored-by: Renovate Bot <renovate@unbound.se>
openpayments-mock
Tiny in-memory stand-in for the Open Payments PSD2/BerlinGroup aggregator,
used by the banking-suite acceptance tests. Accepts any bearer token
and returns canned responses.
Not safe for anything but tests — state is entirely in-memory and there are no authentication checks.
Endpoints
OAuth
POST /token— returns static{access_token: "acctest", ...}
AIS (BerlinGroup shape)
GET /psd2/aspspinformation/v1/aspsps— catalogPOST /psd2/consent/v1/consentsGET /psd2/consent/v1/consents/{id}/statusDELETE /psd2/consent/v1/consents/{id}GET /authorize— mock SCA stub that immediately redirects back to theTPP-Redirect-URIwith?code=mock-auth-code&state=...GET /psd2/accountinformation/v1/accountsGET /psd2/accountinformation/v1/accounts/{id}/balancesGET /psd2/accountinformation/v1/accounts/{id}/transactionsGET /psd2/cardaccountinformation/v1/card-accounts
PIS
POST /psd2/paymentinitiation/v1/payments/sepa-credit-transfersGET /psd2/paymentinitiation/v1/payments/sepa-credit-transfers/{id}/status— transitions RCVD → PDNG → ACSC deterministically on successive polls. Creditor name"REJECT ME"transitions to RJCT.POST /psd2/v1/signing-basketsGET /psd2/v1/signing-baskets/{id}/status— RCVD → ACCP → ACSC; reaching ACSC advances all linked payments to ACSC.
Admin (acctest only, not part of PSD2)
POST /admin/resetGET /admin/consentsPOST /admin/transactions— body{ accountId, bookingStatus, entries: [...] }POST /admin/payments/{id}/status— body{ status }POST /admin/baskets/{id}/status— body{ status }POST /admin/consents/{id}/expires-at— body{ expiresAt }
Build
docker build -t openpayments-mock:acctest .
Languages
Go
97.4%
Dockerfile
2.6%