Get

Get

The Plan Get method retrieves a plan given either its plan id or retrieves an array of plans given the email associated with the plans.

Endpoints
GET /api/plan/id/:id
GET /api/plan/email/:email

Response Object | Response Object <array>

fieldtypedescription
idnumberunique identifier
emailstringemail of the user that created this plan
namestringname for the plan
datestringISO 8601 date of creation (YYYY-MM-DD)
principalnumbertotal amount borrowed at creation
interestnumberinterest to be paid as a percentage (APR)