Method Summary
Public Methods | ||
public |
Cancel a pending transaction |
|
public |
Capture an authorized transaction |
|
public |
Include chargeback transaction |
|
public |
Get a transaction by ID |
|
public |
getDecisionReasons(query: object): Promise Get decision reason |
|
public |
Get a list of transactions |
|
public |
getPasskeysReport(eventId: number, query: object): Promise Get Passkeys Report |
|
public |
getRefundReasons(query: object): Promise Get refund reasons |
|
public |
Get transactions report |
|
public |
Refund a transaction |
Inherited Summary
From class RequestHandler | ||
public |
auth: * |
|
public |
settings: * |
|
public |
Delete resource |
|
public |
Get resource |
|
public |
Post resource |
|
public |
Put resource |
|
public |
Create new request promise |
|
public |
Set Environment |
|
public |
Set API url |
|
public |
Upload files |
Public Methods
public chargeback(id: string, type: string, body: string, query: object): Promise source
Include chargeback transaction
public getDecisionReasons(query: object): Promise source
Get decision reason
Params:
Name | Type | Attribute | Description |
query | object |
|
Require parameters. |
public getList(query: object): Promise source
Get a list of transactions
Params:
Name | Type | Attribute | Description |
query | object |
|
Optional request parameters. |
public getPasskeysReport(eventId: number, query: object): Promise source
Get Passkeys Report
Example:
...
const ing = new Sdk();
ing.api.getPasskeysReport(21232, { status: 'pending' })
.then((response) => {
console.log(response);
})
.catch((error) => {
console.log(error);
});
public getRefundReasons(query: object): Promise source
Get refund reasons
Params:
Name | Type | Attribute | Description |
query | object |
|
Optional request parameters. |