POST api/financial/creditcard/UpdateCreditCard/{id}?gatewayType={gatewayType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
gatewayType

GatewayType

Required

id

string

None.

Body Parameters

CreditCard
NameDescriptionTypeAdditional information
ID

integer

None.

FirstName

string

None.

LastName

string

None.

NumberLastFour

string

None.

ExpirationAsString

string

None.

Address

Address

None.

CreditCardType

CreditCardType

None.

IsDefault

boolean

None.

IsDeleted

boolean

None.

VaultID

string

None.

Gateway

GatewayType

None.

DebitCreditTypeId

integer

None.

CreditCardGatewayCategoryID

integer

None.

Email

string

None.

Number

string

None.

BIN

string

None.

MaxRefund

decimal number

None.

TokenID

string

None.

PersonID

integer

None.

Active

boolean

None.

ObjectID

integer

None.

IsModified

boolean

None.

SplitPayAccount

string

None.

SplitPayAmount

integer

None.

ObfuscatedNumber

string

None.

Request Formats

application/json, text/json, application/javascript, application/xml, text/xml, application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WebMethodResultOfCreditCard
NameDescriptionTypeAdditional information
Result

CreditCard

None.

Success

boolean

None.

ErrorText

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": null,
  "Success": true,
  "ErrorText": "sample string 2"
}

application/javascript

Sample:
{"Result":null,"Success":true,"ErrorText":"sample string 2"}

application/xml, text/xml

Sample:
<WebMethodResultOfCreditCard xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Success>true</Success>
  <ErrorText>sample string 2</ErrorText>
</WebMethodResultOfCreditCard>