POST POS/Settings/PaymentModes/CreditCard Try Now
Adds Subscriber Credit Card.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|
Body Parameters
The Subscriber Add Credit Card request.
| Name | Description | Type | Additional information |
|---|---|---|---|
| CardNumber |
The credit card number.
|
string |
Required
|
| CardName |
The name on the credit card.
|
string |
Required
|
| Type |
The card type.
|
CardType |
Required
|
| ExpirationMonth |
The expiration month of credit card.
|
integer |
Required
|
| ExpirationYear |
The expiration year of credit card.
|
integer |
Required
|
| AccountName |
Name of Quickbook Account
|
string |
None.
|
Request Formats
application/json, text/json
Sample:
{
"CardNumber": "",
"CardName": "",
"Type": "None",
"ExpirationMonth": 1,
"ExpirationYear": 1,
"AccountName": ""
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentModeId |
The payment mode identifier.
|
string |
None.
|
| ModeType |
The type of the mode.
|
PaymentMode |
None.
|
| CardType |
The type of the card.
|
CardType |
None.
|
| CardNumber |
The card number.
|
string |
None.
|
| CardName |
The name of the card.
|
string |
None.
|
| ExpirationMonth |
The expiration month.
|
integer |
None.
|
| ExpirationYear |
The expiration year.
|
integer |
None.
|
| PaypalEmail |
The paypal email.
|
string |
None.
|
| OtherDetail |
The other detail.
|
string |
None.
|
| BankName |
The name of the bank.
|
string |
None.
|
| AccountNumber |
The account number.
|
string |
None.
|
| DisplayName |
The display name.
|
string |
None.
|
| Status |
The status.
|
PaymentModeStatus |
None.
|
| QBAccountId |
The qb account identifier.
|
string |
None.
|
Response Formats
application/json, text/json
Sample:
{
"PaymentModeId": "",
"ModeType": "Any",
"CardType": "None",
"CardNumber": "",
"CardName": "",
"ExpirationMonth": 4,
"ExpirationYear": 5,
"PaypalEmail": "",
"OtherDetail": "",
"BankName": "",
"AccountNumber": "",
"DisplayName": "",
"Status": "None",
"QBAccountId": ""
}