Card

Card

Service to interact with a customer card

Constructor

new Card(options)

Creates an instance of the client's card

Parameters:
Name Type Description
options Object

configuration parameters

Source:

Methods

getCard(accessToken) → {Promise}

Retrieves a customer's card

Parameters:
Name Type Description
accessToken string

the oauth bearer token.

Source:
Returns:
  • the http request promise
Type
Promise