1.1.19 • Published 3 years ago

qpapi v1.1.19

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
3 years ago

qualpay_platform_api

QualpayPlatformApi - JavaScript client for qualpay_platform_api This document describes the Qualpay Platform API. This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.1.9
  • Package version: 1.1.9
  • Build package: io.swagger.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 qualpay_platform_api --save
Local 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 install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your qualpay_platform_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('qualpay_platform_api') 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/YOUR_USERNAME/qualpay_platform_api then install it via:

    npm install YOUR_USERNAME/qualpay_platform_api --save

For 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.js

Then 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 QualpayPlatformApi = require('qualpay_platform_api');

var defaultClient = QualpayPlatformApi.ApiClient.instance;

// Configure HTTP basic authorization: basicAuth
var basicAuth = defaultClient.authentications['basicAuth'];
basicAuth.username = 'YOUR USERNAME'
basicAuth.password = 'YOUR PASSWORD'

var api = new QualpayPlatformApi.AccountUpdaterApi()

var body = new QualpayPlatformApi.AusRequest(); // {AusRequest} aus request


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addAusJsonRequest(body, callback);

Documentation for API Endpoints

All URIs are relative to https://api-test.qualpay.com/platform

ClassMethodHTTP requestDescription
QualpayPlatformApi.AccountUpdaterApiaddAusJsonRequestPOST /aus/addSubmit Account Updater Request
QualpayPlatformApi.AccountUpdaterApibrowseAusRequestsDetailGET /aus/request/detailGet Detailed List of all Account Updater Results
QualpayPlatformApi.AccountUpdaterApibrowseAusRequestsSummaryGET /aus/request/summaryGet summary of all Account Updater Results
QualpayPlatformApi.AccountUpdaterApicancelAusRequestPOST /aus/request/cancel/{request_id}Cancel Account Updater Request
QualpayPlatformApi.AccountUpdaterApicreateAusRequestPOST /aus/request/createCreate an Account Updater Request using Card IDs
QualpayPlatformApi.AccountUpdaterApigetAusDetailGET /aus/request/detail/{request_id}Get detailed list of an Account Updater Request
QualpayPlatformApi.AccountUpdaterApigetAusResponseGET /aus/{requestId}Get Account Updater Results (Full Card Number Requests)
QualpayPlatformApi.AccountUpdaterApigetAusSummaryGET /aus/request/summary/{request_id}Get summary of an Account Updater Request
QualpayPlatformApi.AccountUpdaterApiputOnAusHoldPOST /aus/holdPut on Account Updater Harvest Hold
QualpayPlatformApi.AccountUpdaterApireleaseFromAusHoldPOST /aus/releaseRelease from Account Updater Harvest Hold
QualpayPlatformApi.ApplicationBoardingApiaddAppPOST /application/addCreate Application
QualpayPlatformApi.ApplicationBoardingApibrowseAppsGET /application/browseBrowse applications
QualpayPlatformApi.ApplicationBoardingApibrowseSalesRepsGET /application/sales/browseBrowse Sales Reps
QualpayPlatformApi.ApplicationBoardingApiemailAppPOST /application/{appId}/emailEmail Application
QualpayPlatformApi.ApplicationBoardingApigetAppGET /application/{appId}/getGet Application
QualpayPlatformApi.ApplicationBoardingApisaveDataPOST /application/{appId}/dataSave Data
QualpayPlatformApi.ApplicationBoardingApiuploadFilePOST /application/{appId}/uploadUpload Document
QualpayPlatformApi.ApplicationBoardingApivalidateAppGET /application/{appId}/validateValidate Application
QualpayPlatformApi.CustomerVaultApiaddBillingCardPOST /vault/customer/{customer_id}/billingAdd a Payment Method
QualpayPlatformApi.CustomerVaultApiaddCustomerPOST /vault/customerAdd a Customer
QualpayPlatformApi.CustomerVaultApiaddShippingAddressPOST /vault/customer/{customer_id}/shippingAdd a Shipping Address
QualpayPlatformApi.CustomerVaultApibrowseCustomersGET /vault/customerGet all Customers
QualpayPlatformApi.CustomerVaultApideleteBillingCardPUT /vault/customer/{customer_id}/billing/deleteDelete a Payment Method
QualpayPlatformApi.CustomerVaultApideleteCustomerDELETE /vault/customer/{customer_id}Delete a Customer
QualpayPlatformApi.CustomerVaultApideleteShippingAddressDELETE /vault/customer/{customer_id}/shipping/{id}Delete a Shipping Address
QualpayPlatformApi.CustomerVaultApigetBillingCardsGET /vault/customer/{customer_id}/billingGet Payment Methods
QualpayPlatformApi.CustomerVaultApigetCustomerGET /vault/customer/{customer_id}Get by Customer ID
QualpayPlatformApi.CustomerVaultApigetShippingAddressesGET /vault/customer/{customer_id}/shippingGet Shipping Addresses
QualpayPlatformApi.CustomerVaultApisetPrimaryBillingCardPUT /vault/customer/{customer_id}/billing/primarySet Primary Payment Method
QualpayPlatformApi.CustomerVaultApisetPrimaryShippingAddressPUT /vault/customer/{customer_id}/shipping/primarySet Primary Shipping Address
QualpayPlatformApi.CustomerVaultApiupdateBillingCardPUT /vault/customer/{customer_id}/billingUpdate a Payment Method
QualpayPlatformApi.CustomerVaultApiupdateCustomerPUT /vault/customer/{customer_id}Update a Customer
QualpayPlatformApi.CustomerVaultApiupdateShippingAddressPUT /vault/customer/{customer_id}/shippingUpdate a Shipping Address
QualpayPlatformApi.DisputeManagementApiacceptDisputeGET /dispute/{recId}/acceptAccept Dispute
QualpayPlatformApi.DisputeManagementApicreateDisputeGET /dispute/{merchantId}/createCreate Dispute Data
QualpayPlatformApi.DisputeManagementApigetCreditedTranGET /dispute/{recId}/creditedtransGet Credited Transaction Detail
QualpayPlatformApi.DisputeManagementApigetDisputeResponseGET /dispute/{recId}/responseGet Submitted Dispute Response
QualpayPlatformApi.DisputeManagementApigetDisputesGET /dispute/browseGet Disputes
QualpayPlatformApi.DisputeManagementApigetNonDisputedTranGET /dispute/{recId}/nondisputedtransGet Non Disputed Transaction
QualpayPlatformApi.DisputeManagementApiresetDisputeGET /dispute/{recId}/resetReset Dispute Data
QualpayPlatformApi.DisputeManagementApisubmitDisputesResponsePOST /dispute/{recId}/respondSubmit Dispute Response
QualpayPlatformApi.EmbeddedFieldsApigetEmbeddedTransientKeyGET /embeddedGet Transient Key
QualpayPlatformApi.IntegratorApicreateTestAccountPOST /vendor/settings/account/addGenerate Test Account
QualpayPlatformApi.IntegratorApigetMerchantSettingsGET /vendor/settings/{mid}Merchant Settings
QualpayPlatformApi.IntegratorApirotateApiKeyPOST /vendor/settings/key/{mid}Generate Security Key
QualpayPlatformApi.InvoicingApiaddInvoicePaymentPOST /invoice/{invoice_id}/paymentsAdd Payment to an Invoice
QualpayPlatformApi.InvoicingApibrowseBouncedInvoicesGET /invoice/bouncedGet Undelivered Invoices
QualpayPlatformApi.InvoicingApibrowseInvoicePaymentsGET /invoice/paymentsGet Invoice Payments
QualpayPlatformApi.InvoicingApibrowseInvoicePaymentsByIdGET /invoice/{invoice_id}/paymentsGet invoice payments by id
QualpayPlatformApi.InvoicingApibrowseInvoicesGET /invoiceGet all Invoices
QualpayPlatformApi.InvoicingApicancelInvoiceDELETE /invoice/{invoice_id}/cancelCancel an Invoice
QualpayPlatformApi.InvoicingApicopyInvoicePOST /invoice/{invoice_id}/copyCopy an Invoice
QualpayPlatformApi.InvoicingApicreateInvoicePOST /invoiceCreate an invoice
QualpayPlatformApi.InvoicingApigetInvoiceGET /invoice/{invoice_id}/detailGet by Invoice ID
QualpayPlatformApi.InvoicingApiremoveInvoicePaymentDELETE /invoice/{invoice_id}/payments/{payment_id}Remove an Invoice Payment
QualpayPlatformApi.InvoicingApiresendInvoicePOST /invoice/{invoice_id}/resendResend an Invoice
QualpayPlatformApi.InvoicingApisendInvoicePOST /invoice/{invoice_id}/sendSend an Invoice
QualpayPlatformApi.InvoicingApiupdateDraftInvoicePUT /invoice/{invoice_id}/draftUpdate a Draft Invoice
QualpayPlatformApi.InvoicingApiupdateInvoicePaymentPUT /invoice/{invoice_id}/payments/{payment_id}Update an Invoice Payment
QualpayPlatformApi.InvoicingApiupdateOutstandingInvoicePUT /invoice/{invoice_id}/outstandingUpdate an Outstanding Invoice
QualpayPlatformApi.QualpayCheckoutApiaddCheckoutPOST /checkoutCreate a Checkout Link
QualpayPlatformApi.QualpayCheckoutApigetDetailsGET /checkout/{checkoutId}Lookup Checkout Payment
QualpayPlatformApi.RecurringBillingApiaddPlanPOST /planAdd a Recurring Plan
QualpayPlatformApi.RecurringBillingApiaddSubscriptionPOST /subscriptionAdd a Subscription
QualpayPlatformApi.RecurringBillingApiarchivePlanPOST /plan/{plan_code}/archiveArchive a Recurring Plan
QualpayPlatformApi.RecurringBillingApibrowsePlansGET /planGet all Recurring Plans
QualpayPlatformApi.RecurringBillingApibrowseSubscriptionsGET /subscriptionGet all Subscriptions
QualpayPlatformApi.RecurringBillingApicancelSubscriptionPOST /subscription/{subscription_id}/cancelCancel a Subscription
QualpayPlatformApi.RecurringBillingApideletePlanDELETE /plan/{plan_id}/deleteDelete a Recurring Plan
QualpayPlatformApi.RecurringBillingApigetAllSubscriptionTransactionsGET /subscription/transactionsGet all subscription transactions
QualpayPlatformApi.RecurringBillingApigetPlanGET /plan/{plan_code}Find Recurring Plan by Plan Code
QualpayPlatformApi.RecurringBillingApigetSubscriptionGET /subscription/{subscription_id}Get Subscription by Subscription ID
QualpayPlatformApi.RecurringBillingApigetSubscriptionTransactionsGET /subscription/transactions/{subscription_id}Get transactions by Subscription ID
QualpayPlatformApi.RecurringBillingApipauseSubscriptionPOST /subscription/{subscription_id}/pausePause a Subscription
QualpayPlatformApi.RecurringBillingApiresumeSubscriptionPOST /subscription/{subscription_id}/resumeResume a Subscription
QualpayPlatformApi.RecurringBillingApiupdatePlanPUT /plan/{plan_code}Update a Recurring Plan
QualpayPlatformApi.RecurringBillingApiupdateSubscriptionPUT /subscription/{subscription_id}Update a Subscription
QualpayPlatformApi.ReportingApibrowseAusRequestsGET /reporting/aus/detailAccount Updater Detail Report
QualpayPlatformApi.ReportingApibrowseAusSummaryGET /reporting/aus/summaryAccount Updater Summary Report
QualpayPlatformApi.ReportingApibrowseBatchesGET /reporting/batchesBatch Report
QualpayPlatformApi.ReportingApibrowseDepositsGET /reporting/depositsDeposit Report
QualpayPlatformApi.ReportingApibrowseDisputesGET /reporting/disputesDisputes Report
QualpayPlatformApi.ReportingApibrowseStatementDisputeAdjustmentDataGET /reporting/statement-report/disputeAdjustmentStatement Dispute Adjustments Data
QualpayPlatformApi.ReportingApibrowseStatementFeeDataGET /reporting/statement-report/feesStatement Fee Data
QualpayPlatformApi.ReportingApibrowseStatementPlanDataGET /reporting/statement-report/planTypeStatement Plan Type Data
QualpayPlatformApi.ReportingApibrowseStatementReserveDataGET /reporting/statement-report/reserveStatement Reserve Data
QualpayPlatformApi.ReportingApibrowseStatementSettlemetDataGET /reporting/statement-report/settlementStatement Settlemet Data
QualpayPlatformApi.ReportingApibrowseTransGET /reporting/transactionsSettled Transaction Report
QualpayPlatformApi.ReportingApigetTransactionByPgIdGET /reporting/transactions/bypgid/{pg_id}Get transaction by PG ID
QualpayPlatformApi.ReportingApigetTransactionRequestsGET /reporting/transaction-requestsTransaction Report
QualpayPlatformApi.WebhooksApiaddEventPOST /webhook/{webhook_id}/event/{event}Add an event
QualpayPlatformApi.WebhooksApiaddWebhookPOST /webhookAdd webhook
QualpayPlatformApi.WebhooksApibrowseWebhookGET /webhookBrowse webhooks
QualpayPlatformApi.WebhooksApidisableWebhookPUT /webhook/{webhook_id}/disableDisable a Webhook
QualpayPlatformApi.WebhooksApieditWebhookPUT /webhook/{webhook_id}Update webhook
QualpayPlatformApi.WebhooksApienableWebhookPUT /webhook/{webhook_id}/enableEnable a Webhook
QualpayPlatformApi.WebhooksApigetEventsGET /webhook/{webhook_id}/eventGet events
QualpayPlatformApi.WebhooksApigetWebhookGET /webhook/{webhook_id}Get webhook
QualpayPlatformApi.WebhooksApiremoveEventDELETE /webhook/{webhook_id}/event/{event}Delete event

Documentation for Models

Documentation for Authorization

basicAuth

  • Type: HTTP basic authentication