POST api/Account/UpdateUserCardStatus

Request Information

URI Parameters

None.

Body Parameters

CardStatusInfo
NameDescriptionTypeAdditional information
CardID

globally unique identifier

None.

CardStatusID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CardID": "785aedd9-62fd-43dc-b6fc-1741e308a449",
  "CardStatusID": 2
}

application/xml, text/xml

Sample:
<CardStatusInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.API.Models">
  <CardID>785aedd9-62fd-43dc-b6fc-1741e308a449</CardID>
  <CardStatusID>2</CardStatusID>
</CardStatusInfo>

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 'CardStatusInfo'.

Response Information

Resource Description

Collection of BankCardInfo
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

BankBinSponsorID

integer

None.

CardNumber

string

None.

CVC

string

None.

ExpiryDate

string

None.

DateCreated

date

None.

Note

string

None.

CardDisplayName

string

None.

Balance

decimal number

None.

MaxAmount

decimal number

None.

CurrencyID

integer

None.

CurrencyCode

string

None.

UserID

globally unique identifier

None.

CardTypeID

integer

None.

CardStatusTypeID

integer

None.

Enabled

boolean

None.

ApplicationRefID

string

None.

IBAN

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": "39b07826-0347-4827-b642-5869baf3dacb",
    "BankBinSponsorID": 2,
    "CardNumber": "sample string 3",
    "CVC": "sample string 4",
    "ExpiryDate": "sample string 5",
    "DateCreated": "2021-09-11T12:10:17.7929766+00:00",
    "Note": "sample string 7",
    "CardDisplayName": "sample string 8",
    "Balance": 9.1,
    "MaxAmount": 10.1,
    "CurrencyID": 11,
    "CurrencyCode": "sample string 12",
    "UserID": "a7b57c85-e5ca-42a1-922b-1e99119ac8eb",
    "CardTypeID": 14,
    "CardStatusTypeID": 15,
    "Enabled": true,
    "ApplicationRefID": "sample string 17",
    "IBAN": "sample string 18"
  },
  {
    "ID": "39b07826-0347-4827-b642-5869baf3dacb",
    "BankBinSponsorID": 2,
    "CardNumber": "sample string 3",
    "CVC": "sample string 4",
    "ExpiryDate": "sample string 5",
    "DateCreated": "2021-09-11T12:10:17.7929766+00:00",
    "Note": "sample string 7",
    "CardDisplayName": "sample string 8",
    "Balance": 9.1,
    "MaxAmount": 10.1,
    "CurrencyID": 11,
    "CurrencyCode": "sample string 12",
    "UserID": "a7b57c85-e5ca-42a1-922b-1e99119ac8eb",
    "CardTypeID": 14,
    "CardStatusTypeID": 15,
    "Enabled": true,
    "ApplicationRefID": "sample string 17",
    "IBAN": "sample string 18"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBankCardInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bankiom.DataLayer.Repositories">
  <BankCardInfo>
    <ApplicationRefID>sample string 17</ApplicationRefID>
    <Balance>9.1</Balance>
    <BankBinSponsorID>2</BankBinSponsorID>
    <CVC>sample string 4</CVC>
    <CardDisplayName>sample string 8</CardDisplayName>
    <CardNumber>sample string 3</CardNumber>
    <CardStatusTypeID>15</CardStatusTypeID>
    <CardTypeID>14</CardTypeID>
    <CurrencyCode>sample string 12</CurrencyCode>
    <CurrencyID>11</CurrencyID>
    <DateCreated>2021-09-11T12:10:17.7929766+00:00</DateCreated>
    <Enabled>true</Enabled>
    <ExpiryDate>sample string 5</ExpiryDate>
    <IBAN>sample string 18</IBAN>
    <ID>39b07826-0347-4827-b642-5869baf3dacb</ID>
    <MaxAmount>10.1</MaxAmount>
    <Note>sample string 7</Note>
    <UserID>a7b57c85-e5ca-42a1-922b-1e99119ac8eb</UserID>
  </BankCardInfo>
  <BankCardInfo>
    <ApplicationRefID>sample string 17</ApplicationRefID>
    <Balance>9.1</Balance>
    <BankBinSponsorID>2</BankBinSponsorID>
    <CVC>sample string 4</CVC>
    <CardDisplayName>sample string 8</CardDisplayName>
    <CardNumber>sample string 3</CardNumber>
    <CardStatusTypeID>15</CardStatusTypeID>
    <CardTypeID>14</CardTypeID>
    <CurrencyCode>sample string 12</CurrencyCode>
    <CurrencyID>11</CurrencyID>
    <DateCreated>2021-09-11T12:10:17.7929766+00:00</DateCreated>
    <Enabled>true</Enabled>
    <ExpiryDate>sample string 5</ExpiryDate>
    <IBAN>sample string 18</IBAN>
    <ID>39b07826-0347-4827-b642-5869baf3dacb</ID>
    <MaxAmount>10.1</MaxAmount>
    <Note>sample string 7</Note>
    <UserID>a7b57c85-e5ca-42a1-922b-1e99119ac8eb</UserID>
  </BankCardInfo>
</ArrayOfBankCardInfo>