Create a simple mortgage calculator in Messenger with this API endpoint.

Intro

-Video Coming Soon-
Create a simple mortgage calculator in ManyChat.

API Endpoint

https://app.sparkconvos.com/api/math/mortgage

Headers

Authorization: Bearer {{api_token}}
Accept: application/json

POST

Loan – A user input (number). This is the Purchase Price – Downpayment
Interest – Current Interest rate in decimal format (eg. 4.5% = 0.0045)
Months – Loan length in months (30 year = 360 months)

{
	"loan": "{{loan_amount}}",
	"interest": "{{interest_rate}}",
	"months": "{{loan_in_months}}
}

Response

Convos will respond with the monthly payment as a whole number

{
    "data": {
        "number": 0
    }
}
Did this answer your question?