POST API/Customer/Wallet?action={action}
Manage Payment Wallet Details [Required]: Expected Value(s): "Create","Success","Error". Required parameter(s) for Action(s): "Create" : Payment Object { Amount,TransactionType,TransactionStatus,PayOrderId,Attempts,ReceiptKey,Currency,Name,Email,Phone} "Success" : Payment Object { Amount,TransactionStatus,TransactionType,PayOrderId,PayPaymentId,PaymentSignature,ReceiptKey,Currency,Name,Email,Phone} "Error" : Payment Object { Amount,Currency,ReceiptKey,PayOrderId,PayPaymentId,TransactionStatus,TransactionType,ErrorCode,ErrorDescription,ErrorReason,ErrorSource,ErrorStep,Name,Email,Phone}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
action |
"Create","Success","Error" |
string |
Required |
Body Parameters
Payment Object
PaymentName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
string |
None. |
||
Phone | string |
None. |
|
Amount | decimal number |
None. |
|
Currency | string |
None. |
|
ReceiptKey | string |
None. |
|
PayOrderId | string |
None. |
|
PayPaymentId | string |
None. |
|
PaymentSignature | string |
None. |
|
TransactionStatus | string |
None. |
|
Attempts | integer |
None. |
|
TransactionType | string |
None. |
|
ErrorCode | string |
None. |
|
ErrorDescription | string |
None. |
|
ErrorReason | string |
None. |
|
ErrorSource | string |
None. |
|
ErrorStep | string |
None. |
|
RechargeCouponId | integer |
None. |
Request Formats
application/json, text/json
{ "name": "sample string 1", "email": "sample string 2", "phone": "sample string 3", "amount": 4.0, "currency": "sample string 5", "receiptKey": "sample string 6", "payOrderId": "sample string 7", "payPaymentId": "sample string 8", "paymentSignature": "sample string 9", "transactionStatus": "sample string 10", "attempts": 11, "transactionType": "sample string 12", "errorCode": "sample string 13", "errorDescription": "sample string 14", "errorReason": "sample string 15", "errorSource": "sample string 16", "errorStep": "sample string 17", "rechargeCouponId": 18 }
application/xml, text/xml
<Payment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BrownCow.Customer.EntityLayer"> <Amount>4</Amount> <Attempts>11</Attempts> <Currency>sample string 5</Currency> <Email>sample string 2</Email> <ErrorCode>sample string 13</ErrorCode> <ErrorDescription>sample string 14</ErrorDescription> <ErrorReason>sample string 15</ErrorReason> <ErrorSource>sample string 16</ErrorSource> <ErrorStep>sample string 17</ErrorStep> <Name>sample string 1</Name> <PayOrderId>sample string 7</PayOrderId> <PayPaymentId>sample string 8</PayPaymentId> <PaymentSignature>sample string 9</PaymentSignature> <Phone>sample string 3</Phone> <ReceiptKey>sample string 6</ReceiptKey> <RechargeCouponId>18</RechargeCouponId> <TransactionStatus>sample string 10</TransactionStatus> <TransactionType>sample string 12</TransactionType> </Payment>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.