Skip to main content

11.11 Marketplace decision

POST /api/v1/marketplace/applications/{applicationId}/decision​

  • Purpose. Platform Super Administrator accepts a public marketplace request into eligibility review, or declines it.
  • Authentication. Session cookie. The account must be Platform Super Administrator; MFA enrolment is required, plus a registered passkey if the tenant policy requires MFA; session must be created within 5 minutes. Tenant header is ignored.
  • Headers. Origin (must be allowed), Content-Type: application/json (otherwise 415).
  • Path. applicationId: UUID.
  • Body.
FieldTypeRequiredRules
decisionenumYesAPPROVED or REJECTED
notestringRequired when REJECTEDTrimmed; max 500; at least 5 characters when rejecting
curl -s -X POST https://dffms.org/api/v1/marketplace/applications/0190f2c4-6b3e-7a1d-8c2f-000000000110/decision \
-H 'Cookie: __Secure-dffms.session_token=<session-cookie>' \
-H 'Origin: https://dffms.org' \
-H 'Content-Type: application/json' \
-d '{"decision":"REJECTED","note":"Registration certificate not provided."}'

Response (200):

{
"data": {
"id": "0190f2c4-6b3e-7a1d-8c2f-000000000110",
"reference": "MKT-2026-0042",
"status": "REJECTED",
"updatedAt": "2026-10-26T08:05:00.000Z"
},
"error": null,
"requestId": "<request-id>"
}

Errors:

HTTPCodeMeaning
401MFA_REQUIREDMFA or passkey missing.
401FRESH_AUTH_REQUIREDSession older than 5 minutes.
401UNAUTHENTICATEDNo session.
403ORIGIN_DENIEDOrigin not allowed.
403FORBIDDENNot Platform Super Administrator.
404NOT_FOUNDRequest not found.
409INVALID_STATERequest not PENDING, already decided, or a legacy request that needs manual review.
413PAYLOAD_TOO_LARGEDeclared length above 8 KiB.
415INVALID_CONTENT_TYPENot JSON.
422VALIDATION_ERRORBody invalid, or rejection without a note.
500INTERNAL_ERRORUnhandled error.

Side effects:

  • APPROVED: status APPROVED, lifecycle ELIGIBILITY_REVIEW. Creates a finance application in the product's tenant, keyed marketplace:<applicationId> (once only), with the state resolved from the applicant's state of operation. Writes audit and notifies the applicant.
  • REJECTED: status REJECTED, lifecycle DECLINED. Notifies the applicant.