π 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
| Category | Highlights |
|---|---|
| π New endpoints | Get / push FATCA-CRS self-certification document |
| π¦ Response format | Opt-in {success, data | error, meta} envelope, per-agent activation |
| π Strong Auth | SCA context accepted on sensitive endpoints (grace period, no enforcement yet) |
| π Rate limiter | New RateLimit-* headers on every /api/* response (surveillance mode) |
| β οΈ Breaking | persons in user response is a single object Β· owner_name / bicmandatory |
β οΈ Breaking changes
π« persons β single object on the user response
persons β single object on the user responseGET /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 overpersonsas an array on userdetail responses.
π« owner_name and bic mandatory on external account creation
owner_name and bic mandatory on external account creationPOST /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 β Populateowner_nameandrib_attributes.bicon every externalaccount 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
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.code | HTTP | Meaning |
|---|---|---|
validation_failed | 422 | Business validation rejected |
bad_request | 400 | Malformed request |
unauthorized | 401 | Authentication missing or invalid |
forbidden | 403 | Insufficient rights |
not_found | 404 | Resource not found |
rate_limit_exceeded | 429 | Rate limit ceiling exceeded |
internal_error | 500 | Server 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
| Endpoint | Context transport |
|---|---|
POST /external_accounts | body context |
POST /external_accounts/{uuid} | body context |
POST /external_accounts/{uuid}/deactivate | body context |
POST /pay_outs | body context |
POST /strong_auth/reset/{factor} | body context |
GET /accounts/{uuid} | X-SCA-Context header |
𧬠Consent token endpoint β POST /strong_auth/secret_code/verify
POST /strong_auth/secret_code/verifyNow 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
| Reason | Required details |
|---|---|
PAYOUT_EXECUTION | amount (in cents), currency, beneficiary_name, beneficiary_iban |
EXTERNAL_ACCOUNT_MANAGEMENT | action_type (ADD / UPDATE / DEACTIVATE) + iban / beneficiary_label depending on the case |
SCA_FACTOR_UPDATE | factor_type (EMAIL or PHONE_NUMBER) |
WALLET_ACCESS | access_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 theresponse 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 forScaSessionContextBody. Regenerate your clients when convenient.
πͺͺ FATCA / CRS user self-certification
Two new endpoints under /api/platforms/{platformUUID}/users/USERUUID/self_certification:
| Method | Purpose |
|---|---|
GET | Returns 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. |
POST | Pushes 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 forthe 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
POST constraints- π File type β PDF only (extension
.pdfand%PDF-magic bytes checked). Anything
else is rejected with422. - π€ Encoding β file content in
file_data(strict base64), file name infilename. - π¦ 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:
| Header | Meaning |
|---|---|
RateLimit-Limit | Requests allowed per minute (primary short-term ceiling) |
RateLimit-Remaining | Requests remaining in the current minute window |
RateLimit-Reset | Unix 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
| Owner | max / minute | max / hour | max / day |
|---|---|---|---|
| Client agent (shared) | 200 | 9 000 | 100 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 stillsucceed but are recorded internally. A later release will flip the limiter to enforcement:
over-quota requests will return429 Too Many Requestswith aRetry-Afterheader. Use this
window to instrument your client and add429 + Retry-Afterback-off before the switch.
π Reference
- π API reference (v1.2.0) β https://mipisepaymentservices.readme.io/v1.2/reference/intro
duction