POST api/financial/creditcard/AddCreditCard?gatewayType={gatewayType}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
gatewayType | GatewayType |
Required |
Body Parameters
CreditCardName | Description | Type | Additional 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. |
|
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
WebMethodResultOfCreditCardName | Description | Type | Additional 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>