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": "6dec8ba5-d047-4bdf-b60d-8f0563c2d56b", "TransactionUserId": "8f0df0de-c652-4759-a287-680aaa1879a3", "SenderCardId": "a11167e8-0e8c-4d04-a7b8-287741416324", "ReceiverCardId": "57c90c55-01a4-4506-9bbc-136569669b47", "Amount": 2.1, "DateCreated": "2024-10-02T01:04:16.0589834+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": "83e86af6-1c13-40e6-b757-bb531c252205", "ReceiverUserId": "21b0369b-1b6d-4327-b133-d69b39b04227", "CurrentUserBankCardId": "2b56b508-9bca-48ad-893f-1dc44e76b588", "TransactionBankCardId": "aac0deeb-fc36-47c3-a634-5ae1bc536ebe" }
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>2b56b508-9bca-48ad-893f-1dc44e76b588</CurrentUserBankCardId> <DateCreated>2024-10-02T01:04:16.0589834+00:00</DateCreated> <FirstName>sample string 4</FirstName> <ID>6dec8ba5-d047-4bdf-b60d-8f0563c2d56b</ID> <LastName>sample string 5</LastName> <Mobile>sample string 7</Mobile> <ProfileImage>sample string 6</ProfileImage> <ReceiverCardId>57c90c55-01a4-4506-9bbc-136569669b47</ReceiverCardId> <ReceiverUserId>21b0369b-1b6d-4327-b133-d69b39b04227</ReceiverUserId> <SenderCardId>a11167e8-0e8c-4d04-a7b8-287741416324</SenderCardId> <SenderUserId>83e86af6-1c13-40e6-b757-bb531c252205</SenderUserId> <Status>Pending</Status> <TransactionBankCardId>aac0deeb-fc36-47c3-a634-5ae1bc536ebe</TransactionBankCardId> <TransactionUserId>8f0df0de-c652-4759-a287-680aaa1879a3</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>