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>

fieldtypedescription
idnumberunique identifier
pidnumberid of the corresponding plan
emailstringemail of the user that is the plan owner
datestringISO 8601 date of payment (YYYY-MM-DD)
originstringaddress of account that was paid from
destinationstringaddress of account that was paid to
amountnumberamount paid by account in this payment