ballerinax/iris.disputeresponder Ballerina library

1.2.0

Overview

This is a generated connector for IRIS Dispute responder API v1.6.4 OpenAPI specification. IRIS CRM's revolutionary new Dispute Responder offers complete, end-to-end dispute management, including instant online notification of new disputes, electronic response submission, and complete record management for Fiserv merchants, all from right within IRIS CRM.

Prerequisites

Before using this connector in your Ballerina application, complete the following:

Quickstart

To use the IRIS Dispute Responder connector in your Ballerina application, update the .bal file as follows:

Step 1: Import connector

First, import the ballerinax/iris.disputeresponder module into the Ballerina project.

Copy
import ballerinax/iris.disputeresponder;

Step 2: Create a new connector instance

Create a disputeresponder:ApiKeysConfig with the API key obtained, and initialize the connector with it.

Copy
disputeresponder:ApiKeysConfig config = {
    xApiKey: "<API_KEY>"
}
disputeresponder:Client baseClient = check new Client(config);

Step 3: Invoke connector operation

  1. Now you can use the operations available within the connector. Note that they are in the form of remote operations.

    Following is an example on how to reply to dispute chargeback case using the connector.

    Reply to dispute chargeback case

    Copy
    public function main() returns error? {
        disputeresponder:ChargebackReplyDisputeRequest payload = {
            selected_doc_types: <selected_doc_types>
        };
        disputeresponder:InlineResponse2006 response = check baseClient->disputeChargeback(<merchantNumber>, <caseNumber>, <payload>);
        log:printInfo(response.toString());
    }
  2. Use bal run command to compile and run the Ballerina program.

Import

import ballerinax/iris.disputeresponder;Copy

Metadata

Released date: almost 3 years ago

Version: 1.2.0

License: Apache-2.0


Compatibility

Platform: any

Ballerina version: 2201.0.0

GraalVM compatible: Yes


Pull count

Total: 1

Current verison: 0


Weekly downloads


Source repository


Keywords

Sales & CRM/Customer Relationship Management

Cost/Paid


Contributors

Other versions

See more...