GET api/CartApi?gateWayId={gateWayId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| gateWayId | integer |
Required |
Body Parameters
Collection of EntityPaymentCredentialsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CredentialId | integer |
None. |
|
| GatewayId | integer |
None. |
|
| ApplicationId | integer |
None. |
|
| MerchantId | integer |
None. |
|
| Status | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedBy | integer |
None. |
|
| MerchantKey | string |
None. |
|
| MerchantCode | string |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedDate | date |
None. |
|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Demo | boolean |
None. |
|
| DemoMerchantId | integer |
None. |
|
| DemoMerchantKey | string |
None. |
|
| DemoMerchantCode | string |
None. |
|
| PaymentName | string |
None. |
|
| AccountId | string |
None. |
|
| Percentage | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"CredentialId": 1,
"GatewayId": 2,
"ApplicationId": 1,
"MerchantId": 1,
"Status": true,
"CreatedBy": 1,
"UpdatedBy": 1,
"MerchantKey": "sample string 3",
"MerchantCode": "sample string 4",
"CreatedDate": "2026-06-04T00:56:06.4204939+02:00",
"UpdatedDate": "2026-06-04T00:56:06.4204939+02:00",
"Id": 5,
"Title": "sample string 6",
"Demo": true,
"DemoMerchantId": 1,
"DemoMerchantKey": "sample string 7",
"DemoMerchantCode": "sample string 8",
"PaymentName": "sample string 9",
"AccountId": "sample string 10",
"Percentage": 11.1
},
{
"CredentialId": 1,
"GatewayId": 2,
"ApplicationId": 1,
"MerchantId": 1,
"Status": true,
"CreatedBy": 1,
"UpdatedBy": 1,
"MerchantKey": "sample string 3",
"MerchantCode": "sample string 4",
"CreatedDate": "2026-06-04T00:56:06.4204939+02:00",
"UpdatedDate": "2026-06-04T00:56:06.4204939+02:00",
"Id": 5,
"Title": "sample string 6",
"Demo": true,
"DemoMerchantId": 1,
"DemoMerchantKey": "sample string 7",
"DemoMerchantCode": "sample string 8",
"PaymentName": "sample string 9",
"AccountId": "sample string 10",
"Percentage": 11.1
}
]
application/xml, text/xml
Sample:
<ArrayOfEntityPaymentCredentialsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.Business.Entity">
<EntityPaymentCredentialsModel>
<AccountId>sample string 10</AccountId>
<ApplicationId>1</ApplicationId>
<CreatedBy>1</CreatedBy>
<CreatedDate>2026-06-04T00:56:06.4204939+02:00</CreatedDate>
<CredentialId>1</CredentialId>
<Demo>true</Demo>
<DemoMerchantCode>sample string 8</DemoMerchantCode>
<DemoMerchantId>1</DemoMerchantId>
<DemoMerchantKey>sample string 7</DemoMerchantKey>
<GatewayId>2</GatewayId>
<Id>5</Id>
<MerchantCode>sample string 4</MerchantCode>
<MerchantId>1</MerchantId>
<MerchantKey>sample string 3</MerchantKey>
<PaymentName>sample string 9</PaymentName>
<Percentage>11.1</Percentage>
<Status>true</Status>
<Title>sample string 6</Title>
<UpdatedBy>1</UpdatedBy>
<UpdatedDate>2026-06-04T00:56:06.4204939+02:00</UpdatedDate>
</EntityPaymentCredentialsModel>
<EntityPaymentCredentialsModel>
<AccountId>sample string 10</AccountId>
<ApplicationId>1</ApplicationId>
<CreatedBy>1</CreatedBy>
<CreatedDate>2026-06-04T00:56:06.4204939+02:00</CreatedDate>
<CredentialId>1</CredentialId>
<Demo>true</Demo>
<DemoMerchantCode>sample string 8</DemoMerchantCode>
<DemoMerchantId>1</DemoMerchantId>
<DemoMerchantKey>sample string 7</DemoMerchantKey>
<GatewayId>2</GatewayId>
<Id>5</Id>
<MerchantCode>sample string 4</MerchantCode>
<MerchantId>1</MerchantId>
<MerchantKey>sample string 3</MerchantKey>
<PaymentName>sample string 9</PaymentName>
<Percentage>11.1</Percentage>
<Status>true</Status>
<Title>sample string 6</Title>
<UpdatedBy>1</UpdatedBy>
<UpdatedDate>2026-06-04T00:56:06.4204939+02:00</UpdatedDate>
</EntityPaymentCredentialsModel>
</ArrayOfEntityPaymentCredentialsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaymentGatewayCredentials| Name | Description | Type | Additional information |
|---|---|---|---|
| AuthToken | string |
None. |
|
| ApiKey | string |
None. |
|
| IsLive | boolean |
None. |
|
| MerchantId | integer |
None. |
|
| GatewayId | integer |
None. |
|
| AccountId | string |
None. |
|
| Percentage | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"AuthToken": "sample string 1",
"ApiKey": "sample string 2",
"IsLive": true,
"MerchantId": 1,
"GatewayId": 4,
"AccountId": "sample string 5",
"Percentage": 6.1
}
application/xml, text/xml
Sample:
<PaymentGatewayCredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GM.ApplicanProgramInterface.Models"> <AccountId>sample string 5</AccountId> <ApiKey>sample string 2</ApiKey> <AuthToken>sample string 1</AuthToken> <GatewayId>4</GatewayId> <IsLive>true</IsLive> <MerchantId>1</MerchantId> <Percentage>6.1</Percentage> </PaymentGatewayCredentials>