This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
customers: health check should decrypt account number #604
Labels
enhancement
New feature or request
PayGate Version:
v0.9.0-dev
What were you trying to do?
Currently the Customers/Accounts health check does not attempt to decrypt the account number. We should do this (perhaps just once?) to ensure the full suite of API calls works. Decrypting account numbers is a common code flow in PayGate and ensuing the decryption keys are valid is a good health check.
https://github.com/moov-io/paygate/blob/v0.9.0-dev1/pkg/customers/health.go#L28-L38
What did you expect to see?
PayGate should make it obvious when its performance is known to be degraded.
The text was updated successfully, but these errors were encountered: