Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 2.62 KB

File metadata and controls

24 lines (18 loc) · 2.62 KB

ShareScopes

Describes the scopes being shared from a subject account to a principal account.

Example Usage

import { ShareScopes } from "@moovio/sdk/models/components";

let value: ShareScopes = {
  principalAccountID: "c520f1b9-0ba7-42f5-b977-248cdbe41c69",
  allowScopes: [
    "transfers.write",
    "payment-methods.read",
  ],
};

Fields

Field Type Required Description Example
principalAccountID string ✔️ The account ID that will receive access to the scopes. c520f1b9-0ba7-42f5-b977-248cdbe41c69
allowScopes components.ApplicationScope[] The list of scopes to share with the principal account. If none are provided, all intersecting scopes are added. [
"transfers.write",
"payment-methods.read"
]