Switching

Confirm Switch

Confirm a switch (or that user stayed) and award XP.

post/api/switching/opportunities/{opportunity_id}/confirm

Request

  • Base URL: https://api.earmarkiq.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.earmarkiq.app/api/switching/opportunities/{opportunity_id}/confirm
  • Auth: HTTP bearer

Path parameters

opportunity_idstring required

Request body

new_providerstring required
new_monthly_costnumber required
stayedboolean

Response

Successful Response

idstring required
categorystring required
estimated_annual_savingnumber required
xp_awardedinteger required
is_first_switchboolean required
badge_unlockedstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.