GET api/Account/CardBalance?cardID={cardID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cardID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

OperationStatusOfBankCardInfo
NameDescriptionTypeAdditional information
Result

BankCardInfo

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": "4fc4fb04-950d-4712-8f05-35999621e20c",
    "BankBinSponsorID": 2,
    "CardNumber": "sample string 3",
    "CVC": "sample string 4",
    "ExpiryDate": "sample string 5",
    "DateCreated": "2021-09-09T23:54:31.0172043+00:00",
    "Note": "sample string 7",
    "CardDisplayName": "sample string 8",
    "Balance": 9.1,
    "MaxAmount": 10.1,
    "CurrencyID": 11,
    "CurrencyCode": "sample string 12",
    "UserID": "03124811-0330-4333-8f14-7dfbccebe7df",
    "CardTypeID": 14,
    "CardStatusTypeID": 15,
    "Enabled": true,
    "ApplicationRefID": "sample string 17",
    "IBAN": "sample string 18"
  },
  "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:
<OperationStatusOfBankCardInfoH6cwkWYG 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Repositories">
    <d2p1:ApplicationRefID>sample string 17</d2p1:ApplicationRefID>
    <d2p1:Balance>9.1</d2p1:Balance>
    <d2p1:BankBinSponsorID>2</d2p1:BankBinSponsorID>
    <d2p1:CVC>sample string 4</d2p1:CVC>
    <d2p1:CardDisplayName>sample string 8</d2p1:CardDisplayName>
    <d2p1:CardNumber>sample string 3</d2p1:CardNumber>
    <d2p1:CardStatusTypeID>15</d2p1:CardStatusTypeID>
    <d2p1:CardTypeID>14</d2p1:CardTypeID>
    <d2p1:CurrencyCode>sample string 12</d2p1:CurrencyCode>
    <d2p1:CurrencyID>11</d2p1:CurrencyID>
    <d2p1:DateCreated>2021-09-09T23:54:31.0172043+00:00</d2p1:DateCreated>
    <d2p1:Enabled>true</d2p1:Enabled>
    <d2p1:ExpiryDate>sample string 5</d2p1:ExpiryDate>
    <d2p1:IBAN>sample string 18</d2p1:IBAN>
    <d2p1:ID>4fc4fb04-950d-4712-8f05-35999621e20c</d2p1:ID>
    <d2p1:MaxAmount>10.1</d2p1:MaxAmount>
    <d2p1:Note>sample string 7</d2p1:Note>
    <d2p1:UserID>03124811-0330-4333-8f14-7dfbccebe7df</d2p1:UserID>
  </Result>
  <Succeeded>true</Succeeded>
</OperationStatusOfBankCardInfoH6cwkWYG>