Constructor
new Card(options)
Creates an instance of the client's card
Parameters:
| Name | Type | Description |
|---|---|---|
options |
Object | configuration parameters |
Methods
getCard(accessToken) → {Promise}
Retrieves a customer's card
Parameters:
| Name | Type | Description |
|---|---|---|
accessToken |
string | the oauth bearer token. |
Returns:
- the http request promise
- Type
- Promise