alphagov / pay-toolbox

Internal administrative tools service for GOV.UK Pay products.
MIT License
11 stars 6 forks source link

PP-11244 Use /api/ variant of GET account endpoint #1720

Closed stephencdaly closed 1 year ago

stephencdaly commented 1 year ago

There are 2 endpoints for getting an account by the internal ID: /v1/api/accounts/{accountId} and /v1/frontend/accounts/{accountId}

These both now return exactly the same response. We intend to remove the /frontend/ variant, so use the /api/ variant in all places.