requestCapabilities

Requests one or more capabilities for the given account.

Return

A pair containing the list of newly requested CapabilityObjects.Capability objects on success, or a NetworkingError on failure.

Parameters

accountId

The merchant account ID to request capabilities for.

request

The request body specifying which capabilities to enable.


Requests one or more capabilities for the given account and delivers the result via a callback.

Parameters

accountId

The merchant account ID to request capabilities for.

request

The request body specifying which capabilities to enable.

completionHandler

Invoked with the list of newly requested CapabilityObjects.Capability objects on success, or a NetworkingError on failure.