POST POS/Customers/{id}/PaymentModes/BankAccount Try Now
Adds the bank account payment mode.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The Customer identifier.
|
string |
Required
|
Body Parameters
The bank account Details.
Name | Description | Type | Additional information |
---|---|---|---|
BankName |
The name of the bank.
|
string |
Required
|
AccountNumber |
The account number.
|
string |
Required
|
Request Formats
application/json, text/json
Sample:
{ "BankName": "", "AccountNumber": "" }
Response Information
Resource Description
The newly added bank account 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 }