POST API/Transaction/RechargeWallet
Request Information
URI Parameters
None.
Body Parameters
RechargeWalletRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| ServiceID | integer |
None. |
|
| Amount | integer |
None. |
|
| TotalAmount | integer |
None. |
|
| BankID | integer |
None. |
|
| Signature | string |
None. |
|
| Fee | integer |
None. |
|
| NapasInfo | NapasPaymentInfoModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1,
"ServiceID": 2,
"Amount": 3,
"TotalAmount": 4,
"BankID": 5,
"Signature": "sample string 6",
"Fee": 7,
"NapasInfo": {
"CardNumber": "sample string 1",
"CardIssueDate": "sample string 2",
"CardName": "sample string 3",
"PaymentToken": "sample string 4",
"FormOfPayment": "sample string 5",
"IdentificationNumber": "sample string 6",
"BankCode": "sample string 7"
}
}
application/xml, text/xml
Sample:
<RechargeWalletRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Apay.Mobile.Api.Models">
<AccountID>1</AccountID>
<Amount>3</Amount>
<BankID>5</BankID>
<Fee>7</Fee>
<NapasInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pis.Apay.Mobile.Api.Models.Napas">
<d2p1:BankCode>sample string 7</d2p1:BankCode>
<d2p1:CardIssueDate>sample string 2</d2p1:CardIssueDate>
<d2p1:CardName>sample string 3</d2p1:CardName>
<d2p1:CardNumber>sample string 1</d2p1:CardNumber>
<d2p1:FormOfPayment>sample string 5</d2p1:FormOfPayment>
<d2p1:IdentificationNumber>sample string 6</d2p1:IdentificationNumber>
<d2p1:PaymentToken>sample string 4</d2p1:PaymentToken>
</NapasInfo>
<ServiceID>2</ServiceID>
<Signature>sample string 6</Signature>
<TotalAmount>4</TotalAmount>
</RechargeWalletRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| ListValue | Collection of Object |
None. |
|
| Message | string |
None. |
|
| Time | string |
None. |
|
| Value | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"ListValue": [
{},
{}
],
"Message": "sample string 2",
"Time": "sample string 3",
"Value": {}
}
application/xml, text/xml
Sample:
<ResponseObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pis.Admin.Lib">
<Code>sample string 1</Code>
<ListValue xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</ListValue>
<Message>sample string 2</Message>
<Time>sample string 3</Time>
<Value />
</ResponseObject>