POST api/Account/UpdateBankCardTopupWithLoad

Request Information

URI Parameters

None.

Body Parameters

BankCardTopupViewModel
NameDescriptionTypeAdditional information
BankCardProcessID

globally unique identifier

None.

CurrencyCountryID

string

None.

ID

globally unique identifier

None.

UserID

globally unique identifier

None.

Amount

decimal number

None.

AdditionalAmount

decimal number

None.

DateProcessed

date

None.

SourcePaymentID

integer

None.

Description

string

None.

TransactionID

string

None.

DateCreated

date

None.

LoadAmount

decimal number

None.

LoadAdditionalAmount

decimal number

None.

LoadCurrencyCountryID

string

None.

LoadTransactionID

string

None.

LoadMarkup

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "BankCardProcessID": "aeb4f40d-8b76-480c-b524-4ae24321e61e",
  "CurrencyCountryID": "sample string 2",
  "ID": "352daab2-1e07-4dc9-ad98-5db39ab2f7e3",
  "UserID": "fac5432a-1544-4e17-b42c-590ee6b4ab91",
  "Amount": 5.1,
  "AdditionalAmount": 6.1,
  "DateProcessed": "2021-09-15T20:21:00.5846187+00:00",
  "SourcePaymentID": 7,
  "Description": "sample string 8",
  "TransactionID": "sample string 9",
  "DateCreated": "2021-09-15T20:21:00.5846187+00:00",
  "LoadAmount": 11.1,
  "LoadAdditionalAmount": 12.1,
  "LoadCurrencyCountryID": "sample string 13",
  "LoadTransactionID": "sample string 14",
  "LoadMarkup": 15.1
}

application/xml, text/xml

Sample:
<BankCardTopupViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Common">
  <AdditionalAmount>6.1</AdditionalAmount>
  <Amount>5.1</Amount>
  <BankCardProcessID>aeb4f40d-8b76-480c-b524-4ae24321e61e</BankCardProcessID>
  <CurrencyCountryID>sample string 2</CurrencyCountryID>
  <DateCreated>2021-09-15T20:21:00.5846187+00:00</DateCreated>
  <DateProcessed>2021-09-15T20:21:00.5846187+00:00</DateProcessed>
  <Description>sample string 8</Description>
  <ID>352daab2-1e07-4dc9-ad98-5db39ab2f7e3</ID>
  <LoadAdditionalAmount>12.1</LoadAdditionalAmount>
  <LoadAmount>11.1</LoadAmount>
  <LoadCurrencyCountryID>sample string 13</LoadCurrencyCountryID>
  <LoadMarkup>15.1</LoadMarkup>
  <LoadTransactionID>sample string 14</LoadTransactionID>
  <SourcePaymentID>7</SourcePaymentID>
  <TransactionID>sample string 9</TransactionID>
  <UserID>fac5432a-1544-4e17-b42c-590ee6b4ab91</UserID>
</BankCardTopupViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BankCardTopupViewModel'.

Response Information

Resource Description

OperationStatusOfBankCardProcessViewModel
NameDescriptionTypeAdditional information
Result

BankCardProcessViewModel

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": "ce3cc6f3-fa0c-4acd-9883-66aefadf83fd",
    "UserID": "35157e4c-fc11-45cb-8d5f-eb7a8fe82a80",
    "BankBinSponsorID": 3,
    "StatusTypeID": 4,
    "ApplicationID": "sample string 5",
    "BankCardTopupID": "e77303ee-d337-4361-b36f-7494e27ba889",
    "BankCardID": "75a9f518-b7fd-4221-b187-b898d62703ce",
    "DateSubmitted": "2021-09-15T20:21:00.6012049+00:00",
    "AppStatus": {
      "ID": "a0d0f82c-006e-4c97-9ce9-daad677fc125",
      "Alert_Reference": "sample string 2",
      "Timestamp": "sample string 3",
      "Type": "sample string 4",
      "Application_Id": "sample string 5",
      "Status": "sample string 6",
      "Status_Label": "sample string 7",
      "Reason": "sample string 8",
      "Reason_Label": "sample string 9",
      "Note": "sample string 10",
      "Customer_Id": "sample string 11",
      "Account_Id": "sample string 12",
      "DateCreated": "2021-09-15T20:21:00.6012049+00:00",
      "UserID": "ae197d9b-0622-4ee0-8be1-f050248f644e",
      "CardName": "sample string 14",
      "KYC_ScanReference1": "sample string 15",
      "KYC_ScanReference2": "sample string 16",
      "AppData": "sample string 17"
    }
  },
  "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:
<OperationStatusOfBankCardProcessViewModels25BU49F 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>
    <AppStatus>
      <Account_Id>sample string 12</Account_Id>
      <Alert_Reference>sample string 2</Alert_Reference>
      <AppData>sample string 17</AppData>
      <Application_Id>sample string 5</Application_Id>
      <CardName>sample string 14</CardName>
      <Customer_Id>sample string 11</Customer_Id>
      <DateCreated>2021-09-15T20:21:00.6012049+00:00</DateCreated>
      <ID>a0d0f82c-006e-4c97-9ce9-daad677fc125</ID>
      <KYC_ScanReference1>sample string 15</KYC_ScanReference1>
      <KYC_ScanReference2>sample string 16</KYC_ScanReference2>
      <Note>sample string 10</Note>
      <Reason>sample string 8</Reason>
      <Reason_Label>sample string 9</Reason_Label>
      <Status>sample string 6</Status>
      <Status_Label>sample string 7</Status_Label>
      <Timestamp>sample string 3</Timestamp>
      <Type>sample string 4</Type>
      <UserID>ae197d9b-0622-4ee0-8be1-f050248f644e</UserID>
    </AppStatus>
    <ApplicationID>sample string 5</ApplicationID>
    <BankBinSponsorID>3</BankBinSponsorID>
    <BankCardID>75a9f518-b7fd-4221-b187-b898d62703ce</BankCardID>
    <BankCardTopupID>e77303ee-d337-4361-b36f-7494e27ba889</BankCardTopupID>
    <DateSubmitted>2021-09-15T20:21:00.6012049+00:00</DateSubmitted>
    <ID>ce3cc6f3-fa0c-4acd-9883-66aefadf83fd</ID>
    <StatusTypeID>4</StatusTypeID>
    <UserID>35157e4c-fc11-45cb-8d5f-eb7a8fe82a80</UserID>
  </Result>
  <Succeeded>true</Succeeded>
</OperationStatusOfBankCardProcessViewModels25BU49F>