Extends
Methods
(async) delete(id) → {boolean}
Delete specific record.
- Inherited From:
 - Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
id | 
            
            
            
                
string
            
             | 
            
            
            
                 UUID4 representation of the resource Id.  | 
        
Returns:
- Type:
 - 
        
boolean 
When the record is successfuly deleted returns true, otherwise false.
(async) detail(id) → {object}
Get specific record details.
- Inherited From:
 - Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
id | 
            
            
            
                
string
            
             | 
            
            
            
                 UUID4 representation of the resource Id.  | 
        
Throws:
Returns:
- Type:
 - 
        
object 
(async) list(params) → {array}
Get a list of transactions.
- Overrides:
 - Source:
 
Parameters:
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params | 
            
            
            
                
Object
            
             | 
            
            
            
                 Receives two parameters. 
  | 
        
Throws:
Returns:
- Type:
 - 
        
array 
List of results.
(async) resume(session, token, link) → {object}
Resume a "pending" session that requires an OTP token. Use this function to resume sessions that returned HTTP 428 status code.
- Inherited From:
 - Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
session | 
            
            
            
                
string
            
             | 
            
            
            
                 UUID4 representation of a "pending" session.  | 
        
token | 
            
            
            
                
string
            
             | 
            
            
            
                 OTP token.  | 
        
link | 
            
            
            
                
string
            
             | 
            
            
            
                 UUID4 representation of the link being used.  | 
        
Throws:
Returns:
- Type:
 - 
        
object 
Response.
(async) retrieve(link, dateFrom, options) → {object}
Retrieve transactions from a specific account or all accounts from a specific link.
- Source:
 
Parameters:
| Name | Type | Description | 
|---|---|---|
link | 
            
            
            
                
string
            
             | 
            
            
            
                 UUID4 representation of a Link Id.  | 
        
dateFrom | 
            
            
            
                
string
            
             | 
            
            
            
                 Required date from, format is YYYY-MM-DD.  | 
        
options | 
            
            
            
                
object
            
             | 
            
            
            
                 Optional parameters (dateTo, token, saveData, account)  | 
        
Throws:
Returns:
- Type:
 - 
        
object 
Response