PayString / paystring

Reference implementation of the PayString Protocol.
Apache License 2.0
286 stars 85 forks source link

Payment Pointer Validation Middleware/Helpers #127

Open dino-rodriguez opened 4 years ago

dino-rodriguez commented 4 years ago

Repeated code when validating Payment Pointers received in the request. This should happen in a middleware anytime a request is received, as opposed to being repeated throughout individual functions.

0xCLARITY commented 4 years ago

It may be worth looking into joi as a dependency for this and for #129 when we get around to this.