List all payments

Changed on
get/payments

Request

  • Base URL
    https://api.notchpay.co
  • URL
    https://api.notchpay.co/payments
  • Auth
    • API key in header Authorization
    • or API key in header X-Sync

Query parameters

limitinteger

Number of items per page

pageinteger

Page number

searchstring

Search by reference

statusstring

Filter by status

channelsstring

Filter by payment channels

date_startstring date

Start date (YYYY-MM-DD)

date_endstring date

End date (YYYY-MM-DD)

Response

Successful response

codeinteger required
statusstring required
messagestring required
totalsinteger
last_pageinteger
current_pageinteger
selectedinteger
itemsPayment[] required(unresolved $ref)

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status