Get
The Payment Get method retrieves an array of payments either by plan id (pid) or the plan owner's email.
Endpoints
GET /api/payment/plan/:pid
GET /api/payment/email/:email
Response Object <array>
field | type | description |
---|---|---|
id | number | unique identifier |
pid | number | id of the corresponding plan |
string | email of the user that is the plan owner | |
date | string | ISO 8601 date of payment (YYYY-MM-DD) |
origin | string | address of account that was paid from |
destination | string | address of account that was paid to |
amount | number | amount paid by account in this payment |