POST api/ARCustomerCreditCardSetup/FullSteam/Add

Request Information

URI Parameters

None.

Body Parameters

CreditCard
NameDescriptionTypeAdditional information
CardId

string

None.

Token

string

None.

PaymentGatewayCustomerId

string

None.

Address

Address

None.

AddressId

integer

None.

Alias

string

None.

CardType

string

None.

PriorityCardType

string

None.

CVV

string

None.

ExpiryMonth

string

None.

ExpiryYear

string

None.

IsDefault

boolean

None.

Name

string

None.

Number

string

None.

Last4Digits

string

None.

ARCustomerMasterId

string

None.

CardCompanyName

string

None.

ZipCode

string

None.

IsEnabled

boolean

None.

HostedPaymentsAccountId

string

None.

performAccountVerification

boolean

None.

EncryptedEmvTerminalCardData

string

None.

SawinId

string

None.

Id

string

None.

AccountId

integer

None.

CompanyId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardId": "sample string 1",
  "Token": "sample string 2",
  "PaymentGatewayCustomerId": "sample string 3",
  "Address": {
    "AddressLine1": "sample string 1",
    "AddressLine2": "sample string 2",
    "City": "sample string 3",
    "Country": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "SawinId": "sample string 7",
    "Id": "sample string 8",
    "AccountId": 9,
    "CompanyId": "sample string 10"
  },
  "AddressId": 4,
  "Alias": "sample string 5",
  "CardType": "sample string 6",
  "PriorityCardType": "sample string 7",
  "CVV": "sample string 8",
  "ExpiryMonth": "sample string 9",
  "ExpiryYear": "sample string 10",
  "IsDefault": true,
  "Name": "sample string 12",
  "Number": "sample string 13",
  "Last4Digits": "sample string 14",
  "ARCustomerMasterId": "sample string 15",
  "CardCompanyName": "sample string 16",
  "ZipCode": "sample string 17",
  "IsEnabled": true,
  "HostedPaymentsAccountId": "sample string 19",
  "performAccountVerification": true,
  "EncryptedEmvTerminalCardData": "sample string 21",
  "SawinId": "sample string 22",
  "Id": "sample string 23",
  "AccountId": 24,
  "CompanyId": "sample string 25"
}

application/xml, text/xml

Sample:
<CreditCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.PaymentGateway.Entities">
  <AccountId>24</AccountId>
  <CompanyId>sample string 25</CompanyId>
  <Id>sample string 23</Id>
  <SawinId>sample string 22</SawinId>
  <ARCustomerMasterId>sample string 15</ARCustomerMasterId>
  <Address>
    <AccountId>9</AccountId>
    <CompanyId>sample string 10</CompanyId>
    <Id>sample string 8</Id>
    <SawinId>sample string 7</SawinId>
    <AddressLine1>sample string 1</AddressLine1>
    <AddressLine2>sample string 2</AddressLine2>
    <City>sample string 3</City>
    <Country>sample string 4</Country>
    <State>sample string 5</State>
    <Zip>sample string 6</Zip>
  </Address>
  <AddressId>4</AddressId>
  <Alias>sample string 5</Alias>
  <CVV>sample string 8</CVV>
  <CardCompanyName>sample string 16</CardCompanyName>
  <CardId>sample string 1</CardId>
  <CardType>sample string 6</CardType>
  <EncryptedEmvTerminalCardData>sample string 21</EncryptedEmvTerminalCardData>
  <ExpiryMonth>sample string 9</ExpiryMonth>
  <ExpiryYear>sample string 10</ExpiryYear>
  <HostedPaymentsAccountId>sample string 19</HostedPaymentsAccountId>
  <IsDefault>true</IsDefault>
  <IsEnabled>true</IsEnabled>
  <Last4Digits>sample string 14</Last4Digits>
  <Name>sample string 12</Name>
  <Number>sample string 13</Number>
  <PaymentGatewayCustomerId>sample string 3</PaymentGatewayCustomerId>
  <PriorityCardType>sample string 7</PriorityCardType>
  <Token>sample string 2</Token>
  <ZipCode>sample string 17</ZipCode>
  <performAccountVerification>true</performAccountVerification>
</CreditCard>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreditCard
NameDescriptionTypeAdditional information
CardId

string

None.

Token

string

None.

PaymentGatewayCustomerId

string

None.

Address

Address

None.

AddressId

integer

None.

Alias

string

None.

CardType

string

None.

PriorityCardType

string

None.

CVV

string

None.

ExpiryMonth

string

None.

ExpiryYear

string

None.

IsDefault

boolean

None.

Name

string

None.

Number

string

None.

Last4Digits

string

None.

ARCustomerMasterId

string

None.

CardCompanyName

string

None.

ZipCode

string

None.

IsEnabled

boolean

None.

HostedPaymentsAccountId

string

None.

performAccountVerification

boolean

None.

EncryptedEmvTerminalCardData

string

None.

SawinId

string

None.

Id

string

None.

AccountId

integer

None.

CompanyId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CardId": "sample string 1",
  "Token": "sample string 2",
  "PaymentGatewayCustomerId": "sample string 3",
  "Address": {
    "AddressLine1": "sample string 1",
    "AddressLine2": "sample string 2",
    "City": "sample string 3",
    "Country": "sample string 4",
    "State": "sample string 5",
    "Zip": "sample string 6",
    "SawinId": "sample string 7",
    "Id": "sample string 8",
    "AccountId": 9,
    "CompanyId": "sample string 10"
  },
  "AddressId": 4,
  "Alias": "sample string 5",
  "CardType": "sample string 6",
  "PriorityCardType": "sample string 7",
  "CVV": "sample string 8",
  "ExpiryMonth": "sample string 9",
  "ExpiryYear": "sample string 10",
  "IsDefault": true,
  "Name": "sample string 12",
  "Number": "sample string 13",
  "Last4Digits": "sample string 14",
  "ARCustomerMasterId": "sample string 15",
  "CardCompanyName": "sample string 16",
  "ZipCode": "sample string 17",
  "IsEnabled": true,
  "HostedPaymentsAccountId": "sample string 19",
  "performAccountVerification": true,
  "EncryptedEmvTerminalCardData": "sample string 21",
  "SawinId": "sample string 22",
  "Id": "sample string 23",
  "AccountId": 24,
  "CompanyId": "sample string 25"
}

application/xml, text/xml

Sample:
<CreditCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.PaymentGateway.Entities">
  <AccountId>24</AccountId>
  <CompanyId>sample string 25</CompanyId>
  <Id>sample string 23</Id>
  <SawinId>sample string 22</SawinId>
  <ARCustomerMasterId>sample string 15</ARCustomerMasterId>
  <Address>
    <AccountId>9</AccountId>
    <CompanyId>sample string 10</CompanyId>
    <Id>sample string 8</Id>
    <SawinId>sample string 7</SawinId>
    <AddressLine1>sample string 1</AddressLine1>
    <AddressLine2>sample string 2</AddressLine2>
    <City>sample string 3</City>
    <Country>sample string 4</Country>
    <State>sample string 5</State>
    <Zip>sample string 6</Zip>
  </Address>
  <AddressId>4</AddressId>
  <Alias>sample string 5</Alias>
  <CVV>sample string 8</CVV>
  <CardCompanyName>sample string 16</CardCompanyName>
  <CardId>sample string 1</CardId>
  <CardType>sample string 6</CardType>
  <EncryptedEmvTerminalCardData>sample string 21</EncryptedEmvTerminalCardData>
  <ExpiryMonth>sample string 9</ExpiryMonth>
  <ExpiryYear>sample string 10</ExpiryYear>
  <HostedPaymentsAccountId>sample string 19</HostedPaymentsAccountId>
  <IsDefault>true</IsDefault>
  <IsEnabled>true</IsEnabled>
  <Last4Digits>sample string 14</Last4Digits>
  <Name>sample string 12</Name>
  <Number>sample string 13</Number>
  <PaymentGatewayCustomerId>sample string 3</PaymentGatewayCustomerId>
  <PriorityCardType>sample string 7</PriorityCardType>
  <Token>sample string 2</Token>
  <ZipCode>sample string 17</ZipCode>
  <performAccountVerification>true</performAccountVerification>
</CreditCard>