GET api/SetupSaiPaymentGateway/GetKeys/{accountId}/{companyId}/{paymentGatewayCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

companyId

string

Required

paymentGatewayCode

string

Required

Body Parameters

None.

Response Information

Resource Description

SetupSaiPaymentGatewayCredential
NameDescriptionTypeAdditional information
MerchantId

string

None.

ConsumerKey

string

None.

ConsumerSecret

string

None.

SelectedPaymentGateway

string

None.

AccountId

integer

None.

CompanyId

string

None.

CreatedBy

string

None.

CreatedOn

date

None.

Response Formats

application/json, text/json

Sample:
{
  "MerchantId": "sample string 1",
  "ConsumerKey": "sample string 2",
  "ConsumerSecret": "sample string 3",
  "SelectedPaymentGateway": "sample string 4",
  "AccountId": 5,
  "CompanyId": "sample string 6",
  "CreatedBy": "sample string 7",
  "CreatedOn": "2025-12-16T20:28:40.3173162+00:00"
}

application/xml, text/xml

Sample:
<SetupSaiPaymentGatewayCredential xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup.PaymentGateway">
  <AccountId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">5</AccountId>
  <CompanyId xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 6</CompanyId>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">sample string 7</CreatedBy>
  <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO">2025-12-16T20:28:40.3173162+00:00</CreatedOn>
  <ConsumerKey>sample string 2</ConsumerKey>
  <ConsumerSecret>sample string 3</ConsumerSecret>
  <MerchantId>sample string 1</MerchantId>
  <SelectedPaymentGateway>sample string 4</SelectedPaymentGateway>
</SetupSaiPaymentGatewayCredential>