Offers

Select an offer

post/api/platform/v1/businesses/{businessId}/offers/select

Request

  • Base URL
    https://api.kanmon.com
  • Auth
    API key in header Authorization

Path parameters

businessIdunknown required

UUID representation for the target business

Request body

Response

Array containing all the offers that were selected successfully

idstring required

A unique id representing the offer object

expiredAtobject

UTC timestamp when the offer expires

selectedAtobject

If the offer has been selected, the UTC timestamp of that selection

createdAtstring required

Creation UTC timestamp of the offer

updatedAtstring required

Last updated UTC timestamp of the offer

businessIdstring required

Id of the business that received the offer

Example response

[
  {
    "terms": {
      "advanceAmountCents": 1000000,
      "repaymentPercentage": 20,
      "feeFactor": 1.3,
      "repaymentFrequency": "WEEKLY",
      "totalRepaymentInCents": 1300000
    },
    "createdAt": "2022-06-01T03:57:26.115Z",
    "updatedAt": "2022-06-01T03:57:26.115Z"
  }
]

Changes

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