GET api/AskFriend/GetTopupRequest

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

OperationStatusOfTopupRequestModel
NameDescriptionTypeAdditional information
Result

TopupRequestModel

None.

HasNoData

boolean

None.

ErrorMsg

string

None.

Succeeded

boolean

None.

AlreadyExists

boolean

None.

NotFound

boolean

None.

Error

Exception

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "ID": "abebca71-a1f4-4936-afcc-8b0985bda3e4",
    "UserID": "76ff52ff-fb42-4128-9383-87e050c8431d",
    "BankCardTopupID": "047dee2d-a41e-42a6-b6cf-1fde224749cb",
    "SourcePaymentID": 4,
    "Message": "sample string 5",
    "DateCreated": "2024-07-13T09:02:35.040151+00:00",
    "DateUpdated": "2024-07-13T09:02:35.040151+00:00",
    "IPAddress": "sample string 7",
    "Status": 1,
    "RequestLink": "sample string 8",
    "BankCardTopup": {
      "BankCardProcessID": "cc63a751-0726-4ef0-90d5-58c441183b01",
      "CheckoutToken": "sample string 2",
      "CurrencyCountryID": "sample string 3",
      "UnloadFeeTransactionId": "da28749b-348f-409d-99bd-d88316d8f2b7",
      "ID": "135209b7-e9f2-4a33-8881-8a0bbc2f4af1",
      "UserID": "82e497d4-5ffe-4201-96b0-226a4b52bd0a",
      "Amount": 6.1,
      "AdditionalAmount": 7.1,
      "DateProcessed": "2024-07-13T09:02:35.040151+00:00",
      "SourcePaymentID": 8,
      "Description": "sample string 9",
      "TransactionID": "sample string 10",
      "DateCreated": "2024-07-13T09:02:35.040151+00:00",
      "LoadAmount": 12.1,
      "LoadAdditionalAmount": 13.1,
      "LoadCurrencyCountryID": "sample string 14",
      "LoadTransactionID": "sample string 15",
      "ConversionRate": 16.1,
      "LoadPercentage": 17.1,
      "BankCardTopupID": "64e43fe9-567f-40ed-9ae6-41ed96ca58fa",
      "BankCardID": "7444fc25-ca10-4081-8b42-5adca26ad5ed",
      "isFirst": true,
      "SponsorProductId": "474e4de8-a7ab-4c82-9935-d2b69e21530a",
      "PaymentGateway": 20,
      "PaytabResponseCode": "sample string 21",
      "SelectedAccountNo": "sample string 22",
      "SelectedAccountId": "sample string 23",
      "SelectedEntityId": "sample string 24",
      "BankiomAccount": "sample string 25",
      "SelectedAccount": {
        "id": "sample string 1",
        "account_id": "sample string 2",
        "account_name": "sample string 3",
        "account_number": "sample string 4",
        "iban": "sample string 5",
        "balance": 6.1,
        "currency": "sample string 7",
        "balance_last_updated": "2024-07-13T09:02:35.040151+00:00"
      },
      "OrderId": "sample string 26",
      "Platform": "sample string 27",
      "TopupStatusTypeID": 28,
      "AskAFriendPaymentLink": "sample string 29",
      "FeeTypeCode": "sample string 30",
      "FeeId": "6fc3c838-a774-4b5f-ac27-a09b632d2bfb",
      "FeeCalculationType": 0,
      "LoadedInCard": 1.1,
      "LoadedInCardAED": 1.1
    },
    "CheckoutLink": "sample string 9"
  },
  "HasNoData": true,
  "ErrorMsg": "sample string 2",
  "Succeeded": true,
  "AlreadyExists": true,
  "NotFound": true,
  "Error": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}

application/xml, text/xml

Sample:
<OperationStatusOfTopupRequestModels25BU49F xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <AlreadyExists>true</AlreadyExists>
  <Error xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <ClassName xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">System.Exception</ClassName>
    <Message i:nil="true" xmlns="" />
    <Data i:nil="true" xmlns="" />
    <InnerException i:nil="true" xmlns="" />
    <HelpURL xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 1</HelpURL>
    <StackTraceString i:nil="true" xmlns="" />
    <RemoteStackTraceString i:nil="true" xmlns="" />
    <RemoteStackIndex xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">0</RemoteStackIndex>
    <ExceptionMethod i:nil="true" xmlns="" />
    <HResult xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:int" xmlns="">3</HResult>
    <Source xmlns:d3p1="http://www.w3.org/2001/XMLSchema" i:type="d3p1:string" xmlns="">sample string 2</Source>
    <WatsonBuckets i:nil="true" xmlns="" />
  </Error>
  <ErrorMsg>sample string 2</ErrorMsg>
  <HasNoData>true</HasNoData>
  <NotFound>true</NotFound>
  <Result>
    <BankCardTopup>
      <AdditionalAmount>7.1</AdditionalAmount>
      <Amount>6.1</Amount>
      <AskAFriendPaymentLink>sample string 29</AskAFriendPaymentLink>
      <BankCardID>7444fc25-ca10-4081-8b42-5adca26ad5ed</BankCardID>
      <BankCardProcessID>cc63a751-0726-4ef0-90d5-58c441183b01</BankCardProcessID>
      <BankCardTopupID>64e43fe9-567f-40ed-9ae6-41ed96ca58fa</BankCardTopupID>
      <BankiomAccount>sample string 25</BankiomAccount>
      <CheckoutToken>sample string 2</CheckoutToken>
      <ConversionRate>16.1</ConversionRate>
      <CurrencyCountryID>sample string 3</CurrencyCountryID>
      <DateCreated>2024-07-13T09:02:35.040151+00:00</DateCreated>
      <DateProcessed>2024-07-13T09:02:35.040151+00:00</DateProcessed>
      <Description>sample string 9</Description>
      <FeeCalculationType>Default</FeeCalculationType>
      <FeeId>6fc3c838-a774-4b5f-ac27-a09b632d2bfb</FeeId>
      <FeeTypeCode>sample string 30</FeeTypeCode>
      <ID>135209b7-e9f2-4a33-8881-8a0bbc2f4af1</ID>
      <LoadAdditionalAmount>13.1</LoadAdditionalAmount>
      <LoadAmount>12.1</LoadAmount>
      <LoadCurrencyCountryID>sample string 14</LoadCurrencyCountryID>
      <LoadPercentage>17.1</LoadPercentage>
      <LoadTransactionID>sample string 15</LoadTransactionID>
      <LoadedInCard>1.1</LoadedInCard>
      <LoadedInCardAED>1.1</LoadedInCardAED>
      <OrderId>sample string 26</OrderId>
      <PaymentGateway>20</PaymentGateway>
      <PaytabResponseCode>sample string 21</PaytabResponseCode>
      <Platform>sample string 27</Platform>
      <SelectedAccount>
        <account_id>sample string 2</account_id>
        <account_name>sample string 3</account_name>
        <account_number>sample string 4</account_number>
        <balance>6.1</balance>
        <balance_last_updated>2024-07-13T09:02:35.040151+00:00</balance_last_updated>
        <currency>sample string 7</currency>
        <iban>sample string 5</iban>
        <id>sample string 1</id>
      </SelectedAccount>
      <SelectedAccountId>sample string 23</SelectedAccountId>
      <SelectedAccountNo>sample string 22</SelectedAccountNo>
      <SelectedEntityId>sample string 24</SelectedEntityId>
      <SourcePaymentID>8</SourcePaymentID>
      <SponsorProductId>474e4de8-a7ab-4c82-9935-d2b69e21530a</SponsorProductId>
      <TopupStatusTypeID>28</TopupStatusTypeID>
      <TransactionID>sample string 10</TransactionID>
      <UnloadFeeTransactionId>da28749b-348f-409d-99bd-d88316d8f2b7</UnloadFeeTransactionId>
      <UserID>82e497d4-5ffe-4201-96b0-226a4b52bd0a</UserID>
      <isFirst>true</isFirst>
    </BankCardTopup>
    <BankCardTopupID>047dee2d-a41e-42a6-b6cf-1fde224749cb</BankCardTopupID>
    <CheckoutLink>sample string 9</CheckoutLink>
    <DateCreated>2024-07-13T09:02:35.040151+00:00</DateCreated>
    <DateUpdated>2024-07-13T09:02:35.040151+00:00</DateUpdated>
    <ID>abebca71-a1f4-4936-afcc-8b0985bda3e4</ID>
    <IPAddress>sample string 7</IPAddress>
    <Message>sample string 5</Message>
    <RequestLink>sample string 8</RequestLink>
    <SourcePaymentID>4</SourcePaymentID>
    <Status>1</Status>
    <UserID>76ff52ff-fb42-4128-9383-87e050c8431d</UserID>
  </Result>
  <Succeeded>true</Succeeded>
</OperationStatusOfTopupRequestModels25BU49F>