POST api/P2P/GetTransaction
Request Information
URI Parameters
None.
Body Parameters
TransactionOutputModelName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
TransactionUserId | globally unique identifier |
None. |
|
SenderCardId | globally unique identifier |
None. |
|
ReceiverCardId | globally unique identifier |
None. |
|
Amount | decimal number |
None. |
|
DateCreated | date |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
ProfileImage | string |
None. |
|
Mobile | string |
None. |
|
Currency | string |
None. |
|
Status | TransferType |
None. |
|
Type | P2PTransferType |
None. |
|
Count | integer |
None. |
|
SenderUserId | globally unique identifier |
None. |
|
ReceiverUserId | globally unique identifier |
None. |
|
CurrentUserBankCardId | globally unique identifier |
None. |
|
TransactionBankCardId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "bf36b9b7-af89-4d6c-9003-f6f4d0eeca43", "TransactionUserId": "27e7ad3a-c8c4-4a1f-8e79-7d0693bac350", "SenderCardId": "3f42a73e-4c54-4e52-a889-6d5fc1fccc74", "ReceiverCardId": "1786d836-196e-45ae-b5c0-985620cd2e9f", "Amount": 2.1, "DateCreated": "2024-10-01T10:00:12.7519024+00:00", "FirstName": "sample string 4", "LastName": "sample string 5", "ProfileImage": "sample string 6", "Mobile": "sample string 7", "Currency": "sample string 8", "Status": 1, "Type": 1, "Count": 9, "SenderUserId": "2f7d3537-a7f9-4173-a830-b25d13759d9d", "ReceiverUserId": "56b5a8c9-4eb8-4c9a-b3ab-0a60a742a823", "CurrentUserBankCardId": "519d36f7-a47e-4b4d-863a-b8af79fff0b4", "TransactionBankCardId": "9af23fd0-0c68-4e3d-bb35-65ce52beca81" }
application/xml, text/xml
Sample:
<TransactionOutputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common"> <Amount>2.1</Amount> <Count>9</Count> <Currency>sample string 8</Currency> <CurrentUserBankCardId>519d36f7-a47e-4b4d-863a-b8af79fff0b4</CurrentUserBankCardId> <DateCreated>2024-10-01T10:00:12.7519024+00:00</DateCreated> <FirstName>sample string 4</FirstName> <ID>bf36b9b7-af89-4d6c-9003-f6f4d0eeca43</ID> <LastName>sample string 5</LastName> <Mobile>sample string 7</Mobile> <ProfileImage>sample string 6</ProfileImage> <ReceiverCardId>1786d836-196e-45ae-b5c0-985620cd2e9f</ReceiverCardId> <ReceiverUserId>56b5a8c9-4eb8-4c9a-b3ab-0a60a742a823</ReceiverUserId> <SenderCardId>3f42a73e-4c54-4e52-a889-6d5fc1fccc74</SenderCardId> <SenderUserId>2f7d3537-a7f9-4173-a830-b25d13759d9d</SenderUserId> <Status>Pending</Status> <TransactionBankCardId>9af23fd0-0c68-4e3d-bb35-65ce52beca81</TransactionBankCardId> <TransactionUserId>27e7ad3a-c8c4-4a1f-8e79-7d0693bac350</TransactionUserId> <Type>Send</Type> </TransactionOutputModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseViewModelName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
StatusCode | integer |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "StatusCode": 2, "Message": "sample string 3", "Data": {} }
application/xml, text/xml
Sample:
<ResponseViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common"> <Data /> <Message>sample string 3</Message> <Status>true</Status> <StatusCode>2</StatusCode> </ResponseViewModel>