renovate 1c6b0c31a1
openpayments-mock / check (push) Has been skipped
openpayments-mock / vulnerabilities (push) Has been skipped
openpayments-mock / build (push) Successful in 2m11s
chore(deps): update actions/checkout action to v7 (#12)
This PR contains the following updates:

| Package | Type | Update | Change | Pending |
|---|---|---|---|---|
| [actions/checkout](https://github.com/actions/checkout) | action | major | `v6` → `v7` | `v7.0.0` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

### [`v7.0.0`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700)

[Compare Source](https://github.com/actions/checkout/compare/v7.0.0...v7.0.0)

- Block checking out fork PR for pull\_request\_target and workflow\_run by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2454](https://github.com/actions/checkout/pull/2454)
- Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the minor-actions-dependencies group across 1 directory by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2458](https://github.com/actions/checkout/pull/2458)
- Bump flatted from 3.3.1 to 3.4.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2460](https://github.com/actions/checkout/pull/2460)
- Bump js-yaml from 4.1.0 to 4.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2461](https://github.com/actions/checkout/pull/2461)
- Bump [@&#8203;actions/core](https://github.com/actions/core) and [@&#8203;actions/tool-cache](https://github.com/actions/tool-cache) and Remove uuid by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2459](https://github.com/actions/checkout/pull/2459)
- upgrade module to esm and update dependencies by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2463](https://github.com/actions/checkout/pull/2463)
- Bump the minor-npm-dependencies group across 1 directory with 3 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2462](https://github.com/actions/checkout/pull/2462)

### [`v7`](https://github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v700)

[Compare Source](https://github.com/actions/checkout/compare/v6.0.3...v7.0.0)

- Block checking out fork PR for pull\_request\_target and workflow\_run by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2454](https://github.com/actions/checkout/pull/2454)
- Bump actions/publish-immutable-action from 0.0.3 to 0.0.4 in the minor-actions-dependencies group across 1 directory by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2458](https://github.com/actions/checkout/pull/2458)
- Bump flatted from 3.3.1 to 3.4.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2460](https://github.com/actions/checkout/pull/2460)
- Bump js-yaml from 4.1.0 to 4.2.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2461](https://github.com/actions/checkout/pull/2461)
- Bump [@&#8203;actions/core](https://github.com/actions/core) and [@&#8203;actions/tool-cache](https://github.com/actions/tool-cache) and Remove uuid by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2459](https://github.com/actions/checkout/pull/2459)
- upgrade module to esm and update dependencies by [@&#8203;aiqiaoy](https://github.com/aiqiaoy) in [#&#8203;2463](https://github.com/actions/checkout/pull/2463)
- Bump the minor-npm-dependencies group across 1 directory with 3 updates by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2462](https://github.com/actions/checkout/pull/2462)

</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:eyJjcmVhdGVkSW5WZXIiOiI0My4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQzLjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #12
Co-authored-by: Renovate Bot <renovate@unbound.se>
Co-committed-by: Renovate Bot <renovate@unbound.se>
2026-06-20 19:38:56 +00:00
2026-04-20 21:06:28 +00:00

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 — catalog
  • POST /psd2/consent/v1/consents
  • GET /psd2/consent/v1/consents/{id}/status
  • DELETE /psd2/consent/v1/consents/{id}
  • GET /authorize — mock SCA stub that immediately redirects back to the TPP-Redirect-URI with ?code=mock-auth-code&state=...
  • GET /psd2/accountinformation/v1/accounts
  • GET /psd2/accountinformation/v1/accounts/{id}/balances
  • GET /psd2/accountinformation/v1/accounts/{id}/transactions
  • GET /psd2/cardaccountinformation/v1/card-accounts

PIS

  • POST /psd2/paymentinitiation/v1/payments/sepa-credit-transfers
  • GET /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-baskets
  • GET /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/reset
  • GET /admin/consents
  • POST /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 .
S
Description
Open Payments (PSD2/BerlinGroup) aggregator mock for acceptance tests
Readme 60 KiB
Languages
Go 97.4%
Dockerfile 2.6%