v1

latestOpenAPI 3.1.02026-07-2496304466.3 KB
Treasury Mandates

Create Treasury Mandate

post/accounts/{account_id}/treasury_mandates

Path parameters

account_idstring required

An account identifier.

Headers

LMG-Data-Privacy-Access-Principalstring required
LMG-Data-Privacy-Access-Justificationstring required

Request body

instrumentstring required

An ISIN (International Securities Identification Number) according to ISO 6166. This value uniquely identifies the instrument to be bought/sold via the mandate.

{"stackTrail":"components:schemas:CreateTreasuryMandateRequest:properties:widget_styling","oasType":"schema","type":"unknown","title":"Widget Styling","description":"Optional styling configuration for the treasury mandate widget. Use this to customize the appearance of the widget to match your application's design.\n"}
redirect_successstring required

The redirect target that will be opened after successful acceptance of a mandate.

redirect_failurestring required

The redirect target that will be opened after failure to accept a mandate.

Response

Successful Response

idstring required

An identifier for the treasury mandate.

instrumentstring required

An ISIN (International Securities Identification Number) according to ISO 6166. This value uniquely identifies the instrument to be bought/sold via the mandate.

{"stackTrail":"components:schemas:TreasuryMandateCreationResponse:properties:widget_styling","oasType":"schema","type":"unknown","title":"Widget Styling","description":"The styling configuration applied to the treasury mandate widget, if provided during creation.\n"}
redirect_successstring required

The redirect target that will be opened after successful acceptance of a mandate.

redirect_failurestring required

The redirect target that will be opened after failure to accept a mandate.

widget_urlstring uri required

A web URL. Use this URL to present the user flow for mandate acceptance.

Example response

{
  "history": [
    {
      "timestamp": "2023-06-23T07:29:55.465000+00:00"
    }
  ]
}