POST api/Transfer/TransferToSelf
Request Information
URI Parameters
None.
Body Parameters
TranToSelfParamName | Description | Type | Additional information |
---|---|---|---|
phone | string |
None. |
|
debitAccountNumber | string |
None. |
|
EntrustToken | string |
None. |
|
amount | string |
None. |
|
currency | string |
None. |
|
creditAccountNumber | string |
None. |
|
narration | string |
None. |
|
Tokentype | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "phone": "sample string 1", "debitAccountNumber": "sample string 2", "EntrustToken": "sample string 3", "amount": "sample string 4", "currency": "sample string 5", "creditAccountNumber": "sample string 6", "narration": "sample string 7", "Tokentype": "sample string 8" }
application/xml, text/xml
Sample:
<TranToSelfParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CorporateAPI.RequestObjs"> <EntrustToken>sample string 3</EntrustToken> <Tokentype>sample string 8</Tokentype> <amount>sample string 4</amount> <creditAccountNumber>sample string 6</creditAccountNumber> <currency>sample string 5</currency> <debitAccountNumber>sample string 2</debitAccountNumber> <narration>sample string 7</narration> <phone>sample string 1</phone> </TranToSelfParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IntrabankResponsedataName | Description | Type | Additional information |
---|---|---|---|
Responsecode | string |
None. |
|
ResponseDescription | string |
None. |
|
TranDate | string |
None. |
|
TranAmount | string |
None. |
|
TransactionReference | string |
None. |
|
Narration | string |
None. |
|
SourceBankName | string |
None. |
|
DestinationBankName | string |
None. |
|
SourceAccountNumber | string |
None. |
|
SourceAccountName | string |
None. |
|
DestinationAccountNumber | string |
None. |
|
DestinationAccountName | string |
None. |
|
IntraBankTransferObj | DevIntrabankTransferResponse |
None. |
Response Formats
application/json, text/json
Sample:
{ "Responsecode": "sample string 1", "ResponseDescription": "sample string 2", "TranDate": "sample string 3", "TranAmount": "sample string 4", "TransactionReference": "sample string 5", "Narration": "sample string 6", "SourceBankName": "sample string 7", "DestinationBankName": "sample string 8", "SourceAccountNumber": "sample string 9", "SourceAccountName": "sample string 10", "DestinationAccountNumber": "sample string 11", "DestinationAccountName": "sample string 12", "IntraBankTransferObj": { "responseCode": "sample string 1", "responseDescription": "sample string 2", "message": "sample string 3", "isSuccessful": true, "response": { "transactionAmount": 1.0, "transactionAmountInWords": "sample string 2", "transactionDate": "sample string 3", "transactionReference": "sample string 4", "accountDebited": "sample string 5", "accountCredited": "sample string 6", "senderName": "sample string 7", "beneficiaryName": "sample string 8", "sessionID": "sample string 9" } } }
application/xml, text/xml
Sample:
<IntrabankResponsedata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CorporateAPI.ResponseObjs"> <DestinationAccountName>sample string 12</DestinationAccountName> <DestinationAccountNumber>sample string 11</DestinationAccountNumber> <DestinationBankName>sample string 8</DestinationBankName> <IntraBankTransferObj> <isSuccessful>true</isSuccessful> <message>sample string 3</message> <response> <accountCredited>sample string 6</accountCredited> <accountDebited>sample string 5</accountDebited> <beneficiaryName>sample string 8</beneficiaryName> <senderName>sample string 7</senderName> <sessionID>sample string 9</sessionID> <transactionAmount>1</transactionAmount> <transactionAmountInWords>sample string 2</transactionAmountInWords> <transactionDate>sample string 3</transactionDate> <transactionReference>sample string 4</transactionReference> </response> <responseCode>sample string 1</responseCode> <responseDescription>sample string 2</responseDescription> </IntraBankTransferObj> <Narration>sample string 6</Narration> <ResponseDescription>sample string 2</ResponseDescription> <Responsecode>sample string 1</Responsecode> <SourceAccountName>sample string 10</SourceAccountName> <SourceAccountNumber>sample string 9</SourceAccountNumber> <SourceBankName>sample string 7</SourceBankName> <TranAmount>sample string 4</TranAmount> <TranDate>sample string 3</TranDate> <TransactionReference>sample string 5</TransactionReference> </IntrabankResponsedata>