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. |
Request Formats
application/json, text/json
Sample:
{ "ID": "7d6e2e2b-1941-4370-8594-09d9f0c3d71e", "TransactionUserId": "1dd8b64c-00e2-4e89-aeee-ba7e289ad2a1", "SenderCardId": "032ae38f-8a06-4026-aa84-ab1fdfdc8d01", "ReceiverCardId": "9a532868-39e4-4f26-bef9-e27b9ec86814", "Amount": 2.1, "DateCreated": "2023-03-21T05:12:52.2896242+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": "929821af-e4d3-48b5-b0ef-4fe0cf809e13", "ReceiverUserId": "ab6a68b8-8382-47b7-8fa6-aa5b439f303a", "CurrentUserBankCardId": "7b516d06-d16d-4559-afd9-ee18832fb53c" }
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>7b516d06-d16d-4559-afd9-ee18832fb53c</CurrentUserBankCardId> <DateCreated>2023-03-21T05:12:52.2896242+00:00</DateCreated> <FirstName>sample string 4</FirstName> <ID>7d6e2e2b-1941-4370-8594-09d9f0c3d71e</ID> <LastName>sample string 5</LastName> <Mobile>sample string 7</Mobile> <ProfileImage>sample string 6</ProfileImage> <ReceiverCardId>9a532868-39e4-4f26-bef9-e27b9ec86814</ReceiverCardId> <ReceiverUserId>ab6a68b8-8382-47b7-8fa6-aa5b439f303a</ReceiverUserId> <SenderCardId>032ae38f-8a06-4026-aa84-ab1fdfdc8d01</SenderCardId> <SenderUserId>929821af-e4d3-48b5-b0ef-4fe0cf809e13</SenderUserId> <Status>Pending</Status> <TransactionUserId>1dd8b64c-00e2-4e89-aeee-ba7e289ad2a1</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>