You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change registries-search to handle 402 from pay-api #35718
pay-api is changing how it rejects API key requests (#35666) for payment-requests endpoint. Today it returns 400 INVALID_PAYMENT_METHOD when an API key user submits a request with fees on an account that pays by Credit Card or Online Banking. After the change it will return 402 Payment Required, with the same response body. Requests with no fees, and all UI (non-API key) requests, are unchanged.
This ticket is to handle this change on registry-search.
@Oluwapizzy if you have time can you review PR, also it would be good to get the other ticket fixed and reviewed as well, so these can go up at same time.
Activity
ozamani9gh commentedon Nov 24, 2026
here are the code changes that need to be applied.
https://github.com/bcgov/registries-search/compare/main...sumesh85:35666?expand=1
sumesh85 commentedon Nov 25, 2026
A PR has been created.
ozamani9gh commentedon Nov 25, 2026
@Oluwapizzy if you have time can you review PR, also it would be good to get the other ticket fixed and reviewed as well, so these can go up at same time.