mdes-customer-service-openapi
v2.0.7
Published
This_API_provides_our_Issuer_partners_with_resources_to_help_resolve_consumer_queries_about_payment_accounts_enabled_through_our_digitization_platform_
Readme
mdes_customer_service
MdesCustomerService - JavaScript client for mdes_customer_service This API provides our Issuer partners with resources to help resolve consumer queries about payment accounts enabled through our digitization platform. This SDK is automatically generated by the OpenAPI Generator project:
- API version: 2.0.7
- Package version: 2.0.7
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
Installation
For Node.js
npm
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install mdes_customer_service --saveLocal development
To use the library locally without publishing to a remote npm registry, first install the dependencies by changing into the directory containing package.json (and this README). Let's call this JAVASCRIPT_CLIENT_DIR. Then run:
npm installNext, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:
npm linkFinally, switch to the directory you want to use your mdes_customer_service from, and run:
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>You should now be able to require('mdes_customer_service') in javascript files from the directory you ran the last command above from.
git
If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:
npm install GIT_USER_ID/GIT_REPO_ID --saveFor browser
The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file, that's to say your javascript file where you actually use this library):
browserify main.js > bundle.jsThen include bundle.js in the HTML pages.
Webpack Configuration
Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:
module: {
rules: [
{
parser: {
amd: false
}
}
]
}Getting Started
Please follow the installation instruction and execute the following JS code:
var MdesCustomerService = require('mdes_customer_service');
var api = new MdesCustomerService.AccountHolderMessagingApi()
var opts = {
'accountholderMessagingRequestSchema': new MdesCustomerService.AccountHolderMessagingRequest() // {AccountHolderMessagingRequest} Contains the details of the request message.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.accountholdermessagingPost(opts, callback);
Documentation for API Endpoints
All URIs are relative to https://api.mastercard.com/mdes/csapi/v2
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- MdesCustomerService.AccountHolderMessagingApi | accountholdermessagingPost | POST /accountholdermessaging | MdesCustomerService.SearchApi | searchPost | POST /search | MdesCustomerService.SystemStatusApi | systemstatusGet | GET /systemstatus | MdesCustomerService.TokenActivateApi | tokenActivatePost | POST /token/activate | MdesCustomerService.TokenActivationMethodsApi | tokenActivationmethodsPost | POST /token/activationmethods | MdesCustomerService.TokenCommentsApi | tokenCommentsPost | POST /token/comments | MdesCustomerService.TokenDeleteApi | tokenDeletePost | POST /token/delete | MdesCustomerService.TokenResendActivationCodeApi | tokenResendactivationcodePost | POST /token/resendactivationcode | MdesCustomerService.TokenResetMobilePINApi | tokenResetmobilepinPost | POST /token/resetmobilepin | MdesCustomerService.TokenStatusHistoryApi | tokenStatushistoryPost | POST /token/statushistory | MdesCustomerService.TokenSuspendApi | tokenSuspendPost | POST /token/suspend | MdesCustomerService.TokenUnsuspendApi | tokenUnsuspendPost | POST /token/unsuspend | MdesCustomerService.TokenUpdateApi | tokenUpdatePost | POST /token/update | MdesCustomerService.TransactionsApi | transactionsPost | POST /transactions | MdesCustomerService.UpdateTokenAssuranceApi | updatetokenassurancePost | POST /updatetokenassurance |
Documentation for Models
- MdesCustomerService.Account
- MdesCustomerService.AccountHolderMessagingRequest
- MdesCustomerService.AccountHolderMessagingRequestSchema
- MdesCustomerService.AccountHolderMessagingResponse
- MdesCustomerService.AccountHolderMessagingResponseSchema
- MdesCustomerService.Accounts
- MdesCustomerService.ActivationMethod
- MdesCustomerService.ActivationMethods
- MdesCustomerService.AuditInfo
- MdesCustomerService.Comment
- MdesCustomerService.Comments
- MdesCustomerService.Device
- MdesCustomerService.Error
- MdesCustomerService.Errors
- MdesCustomerService.ErrorsResponse
- MdesCustomerService.SearchRequest
- MdesCustomerService.SearchRequestSchema
- MdesCustomerService.SearchResponse
- MdesCustomerService.SearchResponseSchema
- MdesCustomerService.SimpleTokenCommentResponse
- MdesCustomerService.SimpleTokenResponse
- MdesCustomerService.Status
- MdesCustomerService.Statuses
- MdesCustomerService.Suspenders
- MdesCustomerService.SystemStatusResponse
- MdesCustomerService.SystemStatusResponseSchema
- MdesCustomerService.Token
- MdesCustomerService.TokenActivateRequest
- MdesCustomerService.TokenActivateRequestSchema
- MdesCustomerService.TokenActivateResponseSchema
- MdesCustomerService.TokenActivationMethodsRequest
- MdesCustomerService.TokenActivationMethodsRequestSchema
- MdesCustomerService.TokenActivationMethodsResponse
- MdesCustomerService.TokenActivationMethodsResponseSchema
- MdesCustomerService.TokenCommentsRequest
- MdesCustomerService.TokenCommentsRequestSchema
- MdesCustomerService.TokenCommentsResponse
- MdesCustomerService.TokenCommentsResponseSchema
- MdesCustomerService.TokenDeleteRequest
- MdesCustomerService.TokenDeleteRequestSchema
- MdesCustomerService.TokenDeleteResponseSchema
- MdesCustomerService.TokenResendActivationCodeRequest
- MdesCustomerService.TokenResendActivationCodeRequestSchema
- MdesCustomerService.TokenResendActivationCodeResponse
- MdesCustomerService.TokenResendActivationCodeResponseSchema
- MdesCustomerService.TokenResendActivationCodeResponseToken
- MdesCustomerService.TokenResetMobilePinRequest
- MdesCustomerService.TokenResetMobilePinRequestSchema
- MdesCustomerService.TokenResetMobilePinResponseSchema
- MdesCustomerService.TokenResponse
- MdesCustomerService.TokenStatusHistoryRequest
- MdesCustomerService.TokenStatusHistoryRequestSchema
- MdesCustomerService.TokenStatusHistoryResponse
- MdesCustomerService.TokenStatusHistoryResponseSchema
- MdesCustomerService.TokenSuspendRequest
- MdesCustomerService.TokenSuspendRequestSchema
- MdesCustomerService.TokenSuspendResponseSchema
- MdesCustomerService.TokenUnsuspendRequest
- MdesCustomerService.TokenUnsuspendRequestSchema
- MdesCustomerService.TokenUnsuspendResponseSchema
- MdesCustomerService.TokenUpdateRequest
- MdesCustomerService.TokenUpdateRequestSchema
- MdesCustomerService.TokenUpdateResponse
- MdesCustomerService.TokenUpdateResponseSchema
- MdesCustomerService.TokenUpdateTokens
- MdesCustomerService.Tokens
- MdesCustomerService.Transaction
- MdesCustomerService.Transactions
- MdesCustomerService.TransactionsRequest
- MdesCustomerService.TransactionsRequestSchema
- MdesCustomerService.TransactionsResponse
- MdesCustomerService.TransactionsResponseSchema
- MdesCustomerService.UpdateTokenAssuranceRequest
- MdesCustomerService.UpdateTokenAssuranceRequestSchema
- MdesCustomerService.UpdateTokenAssuranceResponseSchema
Documentation for Authorization
All endpoints do not require authorization.
