Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.13 KB

subaccounts.md

File metadata and controls

24 lines (18 loc) · 1.13 KB

Subaccounts

This library provides easy access to the Subaccounts Resource.

Note: All methods return promises and accept an optional last argument callback. Read about how we handle callbacks and promises.

Methods

  • list([callback])
    List a summary of all subaccounts.
  • get(id[, callback])
    Get details about a specified subaccount by its id
    • id - the id of the subaccount you want to look up required
  • create(subaccount[, callback])
    Create a new subaccount
  • update(id, subaccount[, callback])
    Updates an existing subaccount

Examples

Visit our examples section to see all of our subaccount resource examples.