POST POS/Customers/{id}/PaymentModes/Other Try Now
Adds the other Payment Mode.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The customer identifier.
|
string |
Required
|
Body Parameters
The other detail.
string
Request Formats
application/json, text/json
Sample:
""
Response Information
Resource Description
The newly added Other payment mode details.
Name | Description | Type | Additional information |
---|---|---|---|
PaymentModeId |
The customer's payment mode identifier.
|
string |
None.
|
CustomerId |
The customer identifier.
|
string |
None.
|
ModeType |
The type of the payment mode, viz.: CreditCard, Cash, COD, paypal etc.
|
PaymentMode |
None.
|
CardNumber |
The credit/debit card number.
|
string |
None.
|
CardType |
The type of credit/debit card, viz.: Visa, Master Card etc.
|
CardType |
None.
|
ExpirationYear |
The credit/debit card expiration year.
|
integer |
None.
|
ExpirationMonth |
The credit/debit card expiration month.
|
integer |
None.
|
CardName |
The name on credit/debit card.
|
string |
None.
|
PaypalEmail |
The paypal email id.
|
string |
None.
|
OtherDetail |
The other detail of payment mode "Other".
|
string |
None.
|
AccountNumber |
The bank account number.
|
string |
None.
|
BankName |
The bank name.
|
string |
None.
|
Status |
The payment mode status, viz.: Active, Deleted etc.
|
PaymentModeStatus |
None.
|
GateWay |
The payment gateway, viz.: Braintree, paypal etc. of respective payment mode.
|
PaymentProcessors |
None.
|
GateWayToken |
The payment gateway token.
|
string |
None.
|
GateWayVerified |
A value indicating whether the credit/debit card is verified on respective payment gateway or not.
|
boolean |
None.
|
Response Formats
application/json, text/json
Sample:
{ "PaymentModeId": "", "CustomerId": "", "ModeType": "Any", "CardNumber": "", "CardType": "None", "ExpirationYear": 4, "ExpirationMonth": 5, "CardName": "", "PaypalEmail": "", "OtherDetail": "", "AccountNumber": "", "BankName": "", "Status": "None", "GateWay": "None", "GateWayToken": "", "GateWayVerified": true }