Mandates
Evaluate a mandate against a sealed plan or draft proposal
Changed onFail-closed spend-policy check. Prefer sealedPlan from an APPROVED payment outcome intent. Draft proposals support pre-approve mocks (ENG-2007 wires draft create). Does not move money and does not auto-execute.
post/v1/mandates/{mandateId}/evaluate
Request
- Base URLhttps://sandbox.api.infinite.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
mandateIdstring required
Mandate id (mdt_…).
Headers
X-API-Keystring
API key
Request body
Example request
{
"sealedPlan": {
"v": 1
},
"proposal": {
"destinationRail": "ACH"
}
}Response
Changes
- info
endpoint added
- info