Mandate

Mandate

Service to interact with a customer's transactions

Constructor

new Mandate(options)

Create a new transaction service

Parameters:
Name Type Description
options Object

configuration parameters

Source:

Methods

deleteMandate(accessToken, mandateId) → {Promise}

Deletes specific direct debit mandate

Parameters:
Name Type Description
accessToken string

the oauth bearer token.

mandateId string

the unique mandate ID

Source:
Returns:
  • the http request promise
Type
Promise

listMandates(accessToken) → {Promise}

Gets a list of the customer's current direct debit mandates

Parameters:
Name Type Description
accessToken string

the oauth bearer token.

Source:
Returns:
  • the http request promise
Type
Promise