Added

πŸš€ Release #2 - V1.2.0

This release focuses on secure integration and client ergonomics: an opt-in response
envelope
unifies the API's success and error shapes; Strong Customer Authentication
starts rolling out on sensitive endpoints in a grace period; a rate limiter goes live in
surveillance mode; and new endpoints digitalize the FATCA / CRS self-certification
workflow. It also enforces two long-signalled contract changes on the external account and
user resources.


πŸ“‹ At a glance

CategoryHighlights
πŸ†• New endpointsGet / push FATCA-CRS self-certification document
πŸ“¦ Response formatOpt-in {success, data | error, meta} envelope, per-agent activation
πŸ” Strong AuthSCA context accepted on sensitive endpoints (grace period, no enforcement yet)
πŸ›‘ Rate limiterNew RateLimit-* headers on every /api/* response (surveillance mode)
⚠️ Breakingpersons in user response is a single object · owner_name / bicmandatory

⚠️ Breaking changes

🚫 persons β€” single object on the user response

GET /platforms/{platformUUID}/users/USERUUID now returns persons as a single object
(the user's main person), not an array. When the user has no main person yet, persons is
null β€” this replaces a previous 500 on that edge case.

- "persons": [ { "object": "person", … } ]
+ "persons":   { "object": "person", … }

The API reference has been documenting persons as an object for several releases; this
release aligns the runtime payload with the reference.

πŸ”§

Action required β€” Update any client that iterates over persons as an array on user

detail responses.


🚫 owner_name and bic mandatory on external account creation

POST /platforms/{platformUUID}/users/USERUUID/external_accounts now requires:

  • πŸ‘€ owner_name (string) β€” name of the account holder
  • 🏦 rib_attributes.bic (string) β€” BIC of the external bank

Requests missing either field are rejected with 422. Existing external accounts are
unaffected.

  "external_account": {
+   "owner_name": "John Doe",
    "rib_attributes": {
      "iban": "FR7630004000031234567890143",
+     "bic":  "BNPPFRPP"
    }
  }
πŸ”§

Action required β€” Populate owner_name and rib_attributes.bic on every external

account creation before deploying this release. This mirrors the KYC data quality bar already
applied on internal accounts.


✨ New features

πŸ“¦ Response envelope β€” opt-in per agent

A new uniform response envelope is available on every endpoint of the platform API. Enable
it by requesting activation from your MPS liaison; until you do, the API keeps returning the
exact legacy shape
β€” no forced migration.

πŸ“€ Success shape

{
  "success": true,
  "data":    { … },
  "meta":    { "timestamp": "2026-06-18T09:00:00Z" }
}

Paginated lists move their pagination into meta rather than duplicating it inside data:

{
  "success": true,
  "data":    [ … ],
  "meta": {
    "timestamp":    "2026-06-18T09:00:00Z",
    "current_page": 1,
    "total_pages":  4,
    "total_count":  87,
    "per_page":     25
  }
}

πŸ“₯ Error shape β€” typed error.code

{
  "success": false,
  "error": {
    "code":    "validation_failed",
    "message": "Validation failed.",
    "details": { "errors": ["Email is required.", "Birth date is invalid."] }
  },
  "meta":    { "timestamp": "2026-06-18T09:00:00Z" }
}
error.codeHTTPMeaning
validation_failed422Business validation rejected
bad_request400Malformed request
unauthorized401Authentication missing or invalid
forbidden403Insufficient rights
not_found404Resource not found
rate_limit_exceeded429Rate limit ceiling exceeded
internal_error500Server error
βš™οΈ

The activation is all-or-nothing on the agent β€” not per endpoint, not per platform.

HTTP status codes are strictly identical between formats; only the body shape changes. Strong
Auth endpoints are normalized to the same envelope (no more special-case success/error bodies).
A pre-production agent can be provisioned for you to validate the migration before flipping
production.


πŸ” Strong Customer Authentication β€” rollout (grace period)

Sensitive endpoints now accept an SCA context carrying the JWT consent token that certifies
the caller went through an SCA for that specific action.

πŸ“ Endpoints in scope

EndpointContext transport
POST /external_accountsbody context
POST /external_accounts/{uuid}body context
POST /external_accounts/{uuid}/deactivatebody context
POST /pay_outsbody context
POST /strong_auth/reset/{factor}body context
GET /accounts/{uuid}X-SCA-Context header

🧬 Consent token endpoint β€” POST /strong_auth/secret_code/verify

Now accepts an optional authentication_data payload describing the action the consent will
authorize:

{
  "secret_code": "1234",
  "authentication_data": {
    "reason": "PAYOUT_EXECUTION",
    "details": {
      "amount": 100000,
      "currency": "EUR",
      "beneficiary_name": "John Doe",
      "beneficiary_iban": "FR7630006000011234567890189"
    }
  }
}

Calls without authentication_data keep the previous behavior (short-lived legacy JWT, no
SCA session). Calls with an authentication_data whose reason is unknown β€” or whose
required details are missing β€” return 422 with error_type: "authentication_data".

πŸ—‚οΈ Supported reasons

ReasonRequired details
PAYOUT_EXECUTIONamount (in cents), currency, beneficiary_name, beneficiary_iban
EXTERNAL_ACCOUNT_MANAGEMENTaction_type (ADD / UPDATE / DEACTIVATE) + iban / beneficiary_label depending on the case
SCA_FACTOR_UPDATEfactor_type (EMAIL or PHONE_NUMBER)
WALLET_ACCESSaccess_scope (BALANCE or HISTORY) β€” BALANCE sessions remain valid 180 days

Token values are normalized when compared to the intended transaction: monetary amounts as
BigDecimal, IBANs uppercased and stripped of whitespace, currencies uppercased.

⏱️

No enforcement today. Sending or omitting the SCA context has **no effect on the

response status**: verification errors are logged in the MPS internal SCA journal but do not
block the caller during the rollout. Enforcement will follow in a later release β€” start signing
and sending contexts now so the switch is transparent.

πŸ“ Deprecated schema alias

FinancialRequestContextBody is kept in the swagger as a deprecated alias for
ScaSessionContextBody. Regenerate your clients when convenient.


πŸͺͺ FATCA / CRS user self-certification

Two new endpoints under /api/platforms/{platformUUID}/users/USERUUID/self_certification:

MethodPurpose
GETReturns the user's self-certification document β€” a PDF prefilled by MPS from the identity, tax residence, UBO and US status data already held. The document is **created on demand** on first access, provided the user has a main person.
POSTPushes an externally signed PDF for the user, as an alternative to the in-app electronic signature. The document transitions to successful immediately.

πŸ”€ Two signature workflows

  • ✍️ In-app electronic signature (default) β€” the user signs the MPS-generated PDF via
    Certeurope + SMS OTP. The signature is archived by MPS.
  • πŸ“€ External document push (POST) β€” the platform collects a paper form signed by the
    user, digitizes it as a PDF and pushes it through the API.
⚠️

Contractual responsibility. On the external-push path the platform is responsible for

the authenticity of the pushed document (identity of the signatory, integrity of the
signature, retention of the paper original). MPS attaches and archives the file but performs no
signature verification on this channel.

πŸ”’ POST constraints

  • πŸ“„ File type β€” PDF only (extension .pdf and %PDF- magic bytes checked). Anything
    else is rejected with 422.
  • πŸ”€ Encoding β€” file content in file_data (strict base64), file name in filename.
  • πŸ“¦ Maximum size β€” 10 MB.
  • πŸ”‘ Scope β€” endpoint authorized for platform agents holding rule_documents_document.

πŸ“Ž Responses

Standard HTTP codes: 200, 400 (missing parameters), 401 (unauthorized), 404 (no main
person attached), 422 (invalid payload, non-PDF file, or business validation error). One
document per user β€” POST overrides the prefilled PDF with the pushed document.


πŸ›‘ API rate limiter β€” surveillance mode

Every response on /api/* now carries three new headers advertising the caller's consumption:

HeaderMeaning
RateLimit-LimitRequests allowed per minute (primary short-term ceiling)
RateLimit-RemainingRequests remaining in the current minute window
RateLimit-ResetUnix epoch (ms) when the current minute window resets

Three ceilings are enforced simultaneously β€” per minute, per hour and per day. The
tightest drives RateLimit-Remaining.

βš™οΈ Default limits

Ownermax / minutemax / hourmax / day
Client agent (shared)2009 000100 000

The counter is shared across all collaborators of a given agent (individual for MPS
clients). Limits can be adjusted per owner on request.

⏱️

No blocking at this stage β€” surveillance mode. Requests that exceed the ceiling still

succeed but are recorded internally. A later release will flip the limiter to enforcement:
over-quota requests will return 429 Too Many Requests with a Retry-After header. Use this
window to instrument your client and add 429 + Retry-After back-off before the switch.


πŸ”— Reference