Constructor
new Contact(options)
Create a new contact service
Parameters:
Name | Type | Description |
---|---|---|
options |
Object | configuration parameters |
- Source:
Methods
getContacts(accessToken) → {Promise}
Gets the customer's contacts (payees)
Parameters:
Name | Type | Description |
---|---|---|
accessToken |
string | the oauth bearer token. |
- Source:
Returns:
- the http request promise
- Type
- Promise