Card

Card

Service to interact with a customer card

Constructor

new Card(options)

Creates an instance of the client's card

Source:
Parameters:
Name Type Description
options Object

configuration parameters

Methods

getCard(accessToken) → {Promise}

Retrieves a customer's card

Source:
Parameters:
Name Type Description
accessToken string

the oauth bearer token.

Returns:
Type:
Promise
  • the http request promise