Payments

Guide to integrate against Mode's payments APIs

Mode's Payments REST APIs allow you to easily query payments made to you.

EndpointDescription
GET /v1/paymentsGet a list of payments.
GET /v1/payments/:idGet a particular payment.

Querying Payments

Querying payments couldn't be simpler. You can get a list of all payments, or by providing the id of the payment to the endpoint above, you will get a particular payment.

Both can be further filtered by supplying:

  • userId: This will scope the query to list payments associated with a user
  • startDate: This will scope the query to list payments after the specified date
  • endDate: This will scope the query to list payments before a specified date