moov-io / paygate

A RESTful API enabling electronic payments to be submitted and received without a deep understanding payment file specification
http://moov.io
Apache License 2.0
129 stars 31 forks source link

transfers: switch to skip/count for pagination query params #560

Closed adamdecaf closed 4 years ago

adamdecaf commented 4 years ago

As of https://github.com/moov-io/customers/pull/137 we're switching pagination query params to skip (# of records) and count (# of records). This needs to be the same across all services.

PayGate currently has one spot where offset/limit are consumed. We're going to add a helper into moov-io/base for reading these from a *http.Request.